Skip to content

Commit 246d239

Browse files
author
Zulko
committed
fix: tests.yml
1 parent cb56a82 commit 246d239

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,12 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
2323
run: |
24-
uv pip install -e .
25-
uv pip install flake8 pytest
26-
if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
24+
uv sync --dev
2725
- name: Lint with flake8
2826
run: |
29-
# stop the build if there are Python syntax errors or undefined names
30-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
27+
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3128
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
32-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
29+
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3330
- name: Test with pytest
3431
run: |
35-
pytest
32+
uv run pytest

0 commit comments

Comments
 (0)