Skip to content

Commit da743af

Browse files
committed
test on multiple versions of python
1 parent de45a33 commit da743af

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/run_example.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@ on:
77
jobs:
88
test-example-dataset:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: [3.9, 3.10, 3.11, 3.12]
1013

1114
steps:
1215
- name: Checkout code
1316
uses: actions/checkout@v6
1417

15-
- name: Set up Python
16-
uses: actions/setup-python@v6
18+
- name: Install uv and set the Python version
19+
uses: astral-sh/setup-uv@v7
1720
with:
18-
python-version: '3.10'
21+
python-version: ${{ matrix.python-version }}
1922

20-
- name: Install dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install .
23+
- name: Install the project
24+
run: uv sync --all-extras --dev
2425

2526
- name: Download LUCA.h5
2627
run: wget https://omabrowser.org/All/LUCA.h5

0 commit comments

Comments
 (0)