Skip to content

Commit 4496d45

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

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/run_example.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,36 @@ 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
2728

2829
- name: Run omamer search
2930
run: |
3031
mkdir output
31-
omamer search \
32+
uv run omamer search \
3233
--db LUCA.h5 \
3334
--query example_data/UP000005640_9606.fasta \
3435
--out output/UP000005640_9606.omamer
3536
3637
- name: Run omark
3738
run: |
38-
omark \
39+
uv run omark \
3940
-f output/UP000005640_9606.omamer \
4041
-d LUCA.h5 \
4142
-o output/

0 commit comments

Comments
 (0)