Skip to content

Commit 1d3f2c5

Browse files
committed
fix: CI — create venv with uv venv and use uv run prefix for all commands
1 parent ac216ef commit 1d3f2c5

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,24 @@ jobs:
2222
python-version: ${{ matrix.python-version }}
2323

2424
- name: Install dependencies
25-
run: uv pip install --system -e ".[dev]"
25+
run: |
26+
uv venv
27+
uv pip install -e ".[dev]"
2628
2729
- name: Install Playwright browsers
28-
run: playwright install chromium --with-deps
30+
run: uv run playwright install chromium --with-deps
2931

3032
- name: Lint
31-
run: ruff check src tests
33+
run: uv run ruff check src tests
3234

3335
- name: Format check
34-
run: ruff format --check src tests
36+
run: uv run ruff format --check src tests
3537

3638
- name: Unit tests
37-
run: pytest tests/unit/ -q --tb=short
39+
run: uv run pytest tests/unit/ -q --tb=short
3840

3941
- name: Integration tests
40-
run: pytest tests/integration/ -q --tb=short
42+
run: uv run pytest tests/integration/ -q --tb=short
4143

4244
- name: E2E tests
43-
run: pytest tests/e2e/ -q --tb=short --browser chromium
45+
run: uv run pytest tests/e2e/ -q --tb=short --browser chromium

0 commit comments

Comments
 (0)