Skip to content

Commit b25d4f8

Browse files
committed
ci: run unit tests on test matrix
1 parent af29892 commit b25d4f8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,25 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: ./.github/actions/env-install
2525
- run: pip install -e .
26+
27+
unittest:
28+
runs-on: ubuntu-latest
29+
env:
30+
py38: 3.8
31+
py39: 3.9
32+
py310: "3.10"
33+
py311: "3.11"
34+
pypy3: pypy-3.8
35+
strategy:
36+
fail-fast: false
37+
matrix:
38+
python-version: [py38, py39, py310, py311, pypy3]
39+
steps:
40+
- uses: actions/checkout@v4
41+
- name: Set up Python ${{ env[matrix.python-version] }}
42+
uses: actions/setup-python@v5
43+
with:
44+
python-version: ${{ env[matrix.python-version] }}
45+
architecture: "x64"
46+
- run: pip install -r dev-requirements.txt
47+
- run: pytest

0 commit comments

Comments
 (0)