|
9 | 9 |
|
10 | 10 | strategy:
|
11 | 11 | matrix:
|
12 |
| - os: [ 'macos-latest', 'ubuntu-latest', 'windows-latest' ] |
13 |
| - python-version: [ '3.7.x', '3.8.x', '3.9.x', '3.10.x' ] |
| 12 | + os: [ 'ubuntu-latest', 'windows-latest' ] |
| 13 | + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] |
| 14 | + include: |
| 15 | + - python-version: '3.7' |
| 16 | + os: 'macos-13' |
| 17 | + - python-version: '3.8' |
| 18 | + os: 'macos-13' |
| 19 | + - python-version: '3.9' |
| 20 | + os: 'macos-13' |
| 21 | + - python-version: '3.10' |
| 22 | + os: 'macos-latest' |
| 23 | + - python-version: '3.11' |
| 24 | + os: 'macos-latest' |
| 25 | + - python-version: '3.12' |
| 26 | + os: 'macos-latest' |
14 | 27 | steps:
|
15 |
| - - uses: actions/checkout@v2 |
| 28 | + - uses: actions/checkout@v4 |
16 | 29 | with:
|
17 | 30 | fetch-depth: 1
|
18 |
| - - uses: smacke/submodule-checkout@v3 |
19 |
| - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10.x'}} |
| 31 | + - uses: smacke/submodule-checkout@v4 |
| 32 | + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10'}} |
20 | 33 | with:
|
21 | 34 | ssh-key: '${{ secrets.TEST_DATA_SECRET }}'
|
22 | 35 | - name: Set up Python
|
23 |
| - uses: actions/setup-python@v1 |
| 36 | + uses: actions/setup-python@v5 |
24 | 37 | with:
|
25 | 38 | python-version: ${{ matrix.python-version }}
|
26 | 39 | - name: Install dependencies
|
|
46 | 59 | run: |
|
47 | 60 | pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'not integration' tests/
|
48 | 61 | - name: Run integration tests with pytest
|
49 |
| - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10.x'}} |
| 62 | + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10'}} |
50 | 63 | run: |
|
51 | 64 | INTEGRATION=1 pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'integration' tests/
|
52 | 65 | - name: Upload coverage report
|
|
0 commit comments