Skip to content

Commit ddc8cab

Browse files
committed
add 3.12 test
1 parent b4c179f commit ddc8cab

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/python-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88

9+
strategy:
10+
matrix:
11+
python-version: ['3.11', '3.12']
12+
913
steps:
1014
- uses: actions/checkout@v4
1115

1216
- name: Set up Python
1317
uses: actions/setup-python@v5
1418
with:
15-
python-version: '3.11'
19+
python-version: ${{ matrix.python-version }}
1620

1721
- name: Install dependencies
1822
run: |
@@ -22,7 +26,7 @@ jobs:
2226
2327
- name: Run tests with coverage
2428
run: |
25-
pytest --cov=py --cov-report=xml:tests/coverage.xml tests/
29+
pytest --cov=py --cov-report=xml:tests/coverage.xml --cov-report=term tests/
2630
2731
- name: Upload coverage to Codecov
2832
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)