Skip to content

Commit 20ab174

Browse files
author
thomasZen
committed
Combine two test workflows
1 parent f8ebef7 commit 20ab174

File tree

2 files changed

+7
-31
lines changed

2 files changed

+7
-31
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/unit-tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
jobs:
1010
unit-tests:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [ '3.13' ]
1215

1316
steps:
1417
- name: Checkout repository
@@ -17,17 +20,17 @@ jobs:
1720
- name: Set up Python
1821
uses: actions/setup-python@v5
1922
with:
20-
python-version: "3.10"
23+
python-version: ${{ matrix.python-version }}
2124

2225
- name: Install uv
2326
run: |
2427
curl -LsSf https://astral.sh/uv/install.sh | sh
2528
echo "${HOME}/.local/bin" >> $GITHUB_PATH
2629
27-
- name: Install openretina with dependencies
30+
- name: Install package with dependencies
2831
run: |
29-
uv sync --extra dev
32+
uv sync
3033
uv pip install pytest
3134
3235
- name: Run Unit Tests
33-
run: make test-unittests
36+
run: pytest tests/ -v

0 commit comments

Comments
 (0)