Skip to content

Commit 41cb845

Browse files
committed
Test on multiple versions of Python.
1 parent 88de08b commit 41cb845

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/tests.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88

9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
python: ['3.10', 3.11, 3.12, pypy-3.10]
13+
914
steps:
10-
- uses: actions/checkout@v3
11-
- run: python3 util/install_deps.py
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ matrix.python }}
19+
- run: pip install
20+
pip==24.0 setuptools==69.1.1 wheel==0.42.0 pytest==8.0.2
21+
- run: python util/install_deps.py
1222
- run: pip install .
13-
- uses: actions/cache@v3
23+
- uses: actions/cache@v4
1424
with:
1525
key: cache-dir
1626
path: /home/runner/.cache/simalq
17-
- run: pip install pytest
1827
- run: pytest tests

0 commit comments

Comments
 (0)