Skip to content

Commit 69f90b6

Browse files
Otto-AAboxed
authored andcommitted
ci: use uv in github actions
1 parent 4906dc6 commit 69f90b6

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,14 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v5
1616

17-
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v6
17+
- name: Install uv and set the Python version
18+
uses: astral-sh/setup-uv@v6
1919
with:
2020
python-version: ${{ matrix.python-version }}
21+
enable-cache: true
2122

2223
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install -r requirements.txt
26-
pip install -r test_requirements.txt
24+
run: uv sync --locked --dev
2725

2826
- name: Run tests
29-
run: python -m pytest
30-
continue-on-error: false
27+
run: uv run pytest

0 commit comments

Comments
 (0)