Skip to content

Commit 65e764e

Browse files
committed
try updating ci github action
1 parent 0e34c9c commit 65e764e

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

Diff for: .github/workflows/ci.yml

+20-7
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,31 @@ jobs:
99

1010
strategy:
1111
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'
1427
steps:
15-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v4
1629
with:
1730
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'}}
2033
with:
2134
ssh-key: '${{ secrets.TEST_DATA_SECRET }}'
2235
- name: Set up Python
23-
uses: actions/setup-python@v1
36+
uses: actions/setup-python@v5
2437
with:
2538
python-version: ${{ matrix.python-version }}
2639
- name: Install dependencies
@@ -46,7 +59,7 @@ jobs:
4659
run: |
4760
pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'not integration' tests/
4861
- 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'}}
5063
run: |
5164
INTEGRATION=1 pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'integration' tests/
5265
- name: Upload coverage report

0 commit comments

Comments
 (0)