Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 5195c73

Browse files
committed
Use uv pip install and uv run
This should implicitly create a virtual environment, .venv I don't yet feel like including pyproject.toml and uv.lock
1 parent f5c1982 commit 5195c73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/run-server-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
uv tool install git-annex
2222
uv tool install datalad
23-
if [ -f requirements-devel.txt ]; then uv pip install -r requirements-devel.txt; fi
23+
uv pip install -r requirements-devel.txt
2424
echo which git-annex
2525
which git-annex
2626
echo which datalad
@@ -29,9 +29,9 @@ jobs:
2929
- name: Lint with flake8
3030
run: |
3131
# stop the build if there are Python syntax errors or undefined names
32-
flake8 . --count --ignore E501,E722,E402 --show-source --statistics
32+
uv run flake8 . --exclude .venv --count --ignore E501,E722,E402 --show-source --statistics
3333
- name: Test with pytest
3434
run: |
3535
git config --global user.email "github-test@example.com"
3636
git config --global user.name "Github Testscript"
37-
pytest
37+
uv run pytest

0 commit comments

Comments
 (0)