Skip to content

Commit 832227c

Browse files
committed
use python variations in ci
1 parent 76c8867 commit 832227c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,18 @@ on:
99
jobs:
1010
run-tests:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.12", "3.9"]
1215
name: pixi tests
1316
steps:
1417
- uses: actions/checkout@v4
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Display Python version
23+
run: python -c "import sys; print(sys.version)"
1524
- name: Run tests
1625
uses: prefix-dev/setup-pixi@v0.8.3
1726
with:

0 commit comments

Comments
 (0)