Skip to content

Commit 98386d1

Browse files
committed
run tests on multiple python versions
1 parent 6b9bdc7 commit 98386d1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,21 @@ jobs:
4747
mypy --no-site-packages --config-file mypy.ini . | mypy-baseline filter
4848
4949
tests:
50-
name: Python tests
50+
name: Python ${{ matrix.python-version }} tests
5151
runs-on: ubuntu-latest
52+
strategy:
53+
matrix:
54+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
5255

5356
steps:
5457
- uses: actions/checkout@v2
5558
with:
5659
fetch-depth: 1
5760

58-
- name: Set up Python 3.9
61+
- name: Set up Python ${{ matrix.python-version }}
5962
uses: actions/setup-python@v2
6063
with:
61-
python-version: 3.9
64+
python-version: ${{ matrix.python-version }}
6265

6366
- name: Install requirements.txt dependencies with pip
6467
run: |

0 commit comments

Comments
 (0)