Skip to content

Commit 1186a76

Browse files
committed
uvx vs uv run
1 parent 9d4fd53 commit 1186a76

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- run: uv sync --dev
2222
- name: Run tests
2323
# TODO: #8818 Re-enable quantum tests
24-
run: uvx pytest
24+
run: uv run pytest
2525
--ignore=computer_vision/cnn_classification.py
2626
--ignore=docs/conf.py
2727
--ignore=dynamic_programming/k_means_clustering_tensorflow.py

Diff for: .github/workflows/project_euler.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: 3.x
2222
- run: uv sync --group=euler-validate
23-
- run: uvx pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
23+
- run: uv run pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
2424
validate-solutions:
2525
runs-on: ubuntu-latest
2626
steps:
@@ -30,6 +30,6 @@ jobs:
3030
with:
3131
python-version: 3.x
3232
- run: uv sync --group=euler-validate
33-
- run: uvx pytest scripts/validate_solutions.py
33+
- run: uv run pytest scripts/validate_solutions.py
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .github/workflows/sphinx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
allow-prereleases: true
3434
- run: uv sync --group=docs
3535
- uses: actions/configure-pages@v5
36-
- run: uvx sphinx-build -c docs . docs/_build/html
36+
- run: uv run sphinx-build -c docs . docs/_build/html
3737
- uses: actions/upload-pages-artifact@v3
3838
with:
3939
path: docs/_build/html

0 commit comments

Comments
 (0)