Skip to content

Commit da163ea

Browse files
committed
ci: run gates with .venv/bin directly
'uv run' re-syncs the project environment and rebuilds it on the system interpreter, dropping uv-pip-installed tools like ruff. Invoke the venv binaries directly so the matrix interpreter and installed tools are exactly what runs.
1 parent ac75a36 commit da163ea

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/validate.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@ jobs:
3939
uv pip install -r requirements-dev.lock.txt ruff
4040
4141
- name: Lint with ruff
42-
run: uv run ruff check .
42+
run: .venv/bin/ruff check .
4343

4444
- name: Run tests
45-
run: uv run python -m pytest
45+
run: .venv/bin/python -m pytest
4646

4747
- name: Validate catalog
48-
run: uv run python tools/validate_catalog.py
48+
run: .venv/bin/python tools/validate_catalog.py
4949

5050
- name: Verify public JSON exports
51-
run: uv run python tools/export_catalog.py --check --target both
51+
run: .venv/bin/python tools/export_catalog.py --check --target both
5252

5353
- name: Verify browsable README indexes
54-
run: uv run python tools/render_readmes.py --check
54+
run: .venv/bin/python tools/render_readmes.py --check
5555

5656
- name: Verify first-party content manifest
57-
run: uv run python tools/build_content_manifest.py --check
57+
run: .venv/bin/python tools/build_content_manifest.py --check
5858

5959
- name: Verify runnable examples
60-
run: uv run python tools/verify_examples.py
60+
run: .venv/bin/python tools/verify_examples.py
6161

6262
- name: Verify course folders
63-
run: uv run python tools/verify_courses.py
63+
run: .venv/bin/python tools/verify_courses.py

0 commit comments

Comments
 (0)