|
8 | 8 | - synchronize |
9 | 9 |
|
10 | 10 | jobs: |
11 | | - legacy-python-3-6: |
| 11 | + linux: |
12 | 12 | runs-on: ubuntu-24.04 |
13 | | - container: ubuntu:20.04 |
14 | | - steps: |
15 | | - - uses: actions/checkout@v7 |
16 | | - - name: Set up Python 3.6 |
17 | | - uses: actions/setup-python@v7 |
18 | | - with: |
19 | | - python-version: "3.6" |
20 | | - - name: Display Python version |
21 | | - run: python -c "import sys; print(sys.version)" |
22 | | - - name: Install dependencies |
23 | | - run: | |
24 | | - python -m pip install --upgrade pip |
25 | | - python -m pip install flake8 pytest pytest-mock |
26 | | - python -m pip install -r requirements.txt |
27 | | - python -m pip install --no-deps . |
28 | | - - name: Lint with flake8 |
29 | | - run: python -m flake8 . |
30 | | - - name: Test with pytest |
31 | | - run: python -m pytest |
32 | | - |
33 | | - build: |
34 | | - runs-on: ${{ matrix.runner }} |
35 | 13 | strategy: |
| 14 | + fail-fast: false |
36 | 15 | matrix: |
37 | | - include: |
38 | | - - python-version: "3.7" |
39 | | - runner: ubuntu-22.04 |
40 | | - - python-version: "3.8" |
41 | | - runner: ubuntu-24.04 |
42 | | - - python-version: "3.9" |
43 | | - runner: ubuntu-24.04 |
44 | | - - python-version: "3.10" |
45 | | - runner: ubuntu-24.04 |
46 | | - - python-version: "3.11" |
47 | | - runner: ubuntu-24.04 |
48 | | - - python-version: "3.12" |
49 | | - runner: ubuntu-24.04 |
50 | | - - python-version: "3.13" |
51 | | - runner: ubuntu-24.04 |
52 | | - - python-version: "3.14" |
53 | | - runner: ubuntu-24.04 |
| 16 | + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
54 | 17 |
|
55 | 18 | steps: |
56 | 19 | - uses: actions/checkout@v7 |
|
94 | 57 | --bootstrap tests/fbclient_test_data.json \ |
95 | 58 | --expected-version-file release/package.json |
96 | 59 |
|
| 60 | + windows: |
| 61 | + runs-on: windows-latest |
| 62 | + strategy: |
| 63 | + fail-fast: false |
| 64 | + matrix: |
| 65 | + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 66 | + steps: |
| 67 | + - uses: actions/checkout@v7 |
| 68 | + - name: Set up Python ${{ matrix.python-version }} |
| 69 | + uses: actions/setup-python@v7 |
| 70 | + with: |
| 71 | + python-version: ${{ matrix.python-version }} |
| 72 | + - name: Install dependencies |
| 73 | + run: | |
| 74 | + python -m pip install --upgrade pip |
| 75 | + python -m pip install pytest pytest-mock |
| 76 | + python -m pip install -r requirements.txt |
| 77 | + python -m pip install --no-deps . |
| 78 | + - name: Test with pytest |
| 79 | + run: python -m pytest |
| 80 | + |
97 | 81 | minimum-dependencies: |
98 | 82 | runs-on: ubuntu-24.04 |
99 | 83 | steps: |
|
0 commit comments