File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 python-version : ' 3.10'
2323
24- - name : install packages
25- run : uv pip install -r pyproject.toml --extra testing --system
26-
2724 - name : Build package
2825 run : uv build
2926
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ jobs:
2121 enable-cache : true
2222
2323 - name : install packages
24- run : uv pip install -r pyproject.toml --extra testing --system
25-
24+ run : uv venv && uv pip install -r pyproject.toml --extra testing
2625
2726
2827 lint :
2928 runs-on : ubuntu-22.04 # Provides system Python 3.10
29+ needs : prepare
3030
3131 steps :
3232 - name : checkout
@@ -38,16 +38,17 @@ jobs:
3838 python-version : ' 3.10'
3939
4040 - name : install packages
41- run : uv pip install -r pyproject.toml --extra testing --system
41+ run : uv venv && uv pip install -r pyproject.toml --extra testing
4242
4343 - name : lint using ruff
44- run : ruff check --output-format github ./src ./tests
44+ run : uv run ruff check --output-format github ./src ./tests
4545
4646 - name : format check using ruff
4747 run : ruff format --check ./src ./tests
4848
4949 test :
5050 runs-on : ubuntu-22.04 # Provides system Python 3.10
51+ needs : prepare
5152
5253 steps :
5354
6061 python-version : ' 3.10'
6162
6263 - name : install packages
63- run : uv pip install -r pyproject.toml --extra testing --system
64+ run : uv venv && uv pip install -r pyproject.toml --extra testing
6465
6566 - name : run pytest
66- run : python -m pytest tests
67+ run : uv run pytest tests
You can’t perform that action at this time.
0 commit comments