Skip to content

Commit 0e72fd7

Browse files
committed
fix ci issues
1 parent e1d8f42 commit 0e72fd7

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/python-ci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,19 @@ jobs:
3030
curl -Ls https://astral.sh/uv/install.sh | bash
3131
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
3232
33-
- name: Create and activate venv
34-
run: |
35-
uv venv
36-
source .venv/bin/activate
37-
uv pip install -U uv
38-
3933
- name: Install dependencies
4034
run: |
41-
uv pip install -r requirements.txt || true
4235
uv pip install -e .
43-
uv pip install pytest mypy ruff
36+
uv pip install pytest mypy ruff build
4437
4538
- name: Run linters
46-
run: ruff check .
39+
run: python -m ruff check .
4740

4841
- name: Run formatters
49-
run: ruff format --check .
42+
run: python -m ruff format --check .
5043

5144
- name: Run mypy
5245
run: mypy src/
5346

5447
- name: Run tests with coverage
5548
run: pytest --cov=src --cov-report=term-missing --cov-fail-under=80
56-

0 commit comments

Comments
 (0)