Skip to content

Commit 93b3fa2

Browse files
committed
Update dev workflow to test multiple python versions
1 parent a36a9c5 commit 93b3fa2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/dev.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ permissions:
1313

1414
jobs:
1515
test:
16-
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19+
os: [ubuntu-latest]
20+
runs-on: ${{ matrix.os }}
1721
steps:
1822
- uses: actions/checkout@v4
1923
- name: Install just
@@ -23,12 +27,14 @@ jobs:
2327
with:
2428
enable-cache: true
2529
cache-dependency-glob: "uv.lock"
26-
- name: Install python 3.12
30+
- name: Install python ${{ matrix.python-version }}
2731
uses: actions/setup-python@v5
2832
with:
29-
python-version-file: ".python-version"
33+
python-version: ${{ matrix.python-version }}
3034
- name: Install dependencies
3135
run: just install
36+
env:
37+
UV_PYTHON: ${{ matrix.python-version }}
3238
- name: Test
3339
run: just test
3440
- name: Build

0 commit comments

Comments
 (0)