-
-
Notifications
You must be signed in to change notification settings - Fork 34
49 lines (43 loc) · 1.09 KB
/
Copy pathpython-compatibility.yml
File metadata and controls
49 lines (43 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: "Python Compatibility"
on:
push:
branches: [main, ]
pull_request:
branches: [main]
schedule:
- cron: '0 4 * * 6'
permissions:
contents: read
jobs:
compatibility:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental == true }}
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
experimental:
- false
include:
- python-version: "3.15"
experimental: true
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: ${{ matrix.experimental }}
- name: Install package
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -e .
- name: Verify package
run: |
python -m compileall -q pcapkit
python -c 'import pcapkit; print(pcapkit.__version__)'