File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,10 +22,12 @@ jobs:
2222 enable-cache : true
2323
2424 - name : Create virtual environment
25- run : uv venv --clear .venv
25+ run : |
26+ uv venv --clear .venv
27+ echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
2628
2729 - name : Install Black
28- run : uv pip install --python .venv/bin/python "black>=24.0.0"
30+ run : uv pip install "black>=24.0.0"
2931
3032 - name : Check code formatting with Black
31- run : uv run --python .venv/bin/python black --check --diff --workers 1 .
33+ run : black --check --diff --workers 1 .
Original file line number Diff line number Diff line change 5555
5656 # Install dependencies
5757 - name : Install dependencies
58- run : uv pip install -e .[docs,test]
58+ run : uv pip install -e " .[docs,test]"
5959
6060 # Run spec tests without coverage for non Python 3.10
6161 - name : Run spec_test
Original file line number Diff line number Diff line change 3636
3737 # Install dependencies
3838 - name : Install dependencies
39- run : uv pip install ruff -e .[docs,test]
39+ run : uv pip install ruff -e " .[docs,test]"
4040
4141 # Run ruff
4242 - name : Lint with ruff
Original file line number Diff line number Diff line change @@ -27,12 +27,13 @@ jobs:
2727 enable-cache : true
2828
2929 - name : Create virtual environment
30+ shell : pwsh
3031 run : |
3132 uv venv --clear .venv
3233 Add-Content $env:GITHUB_PATH "$env:GITHUB_WORKSPACE\.venv\Scripts"
3334
3435 - name : Install dependencies
35- run : uv pip install -e .[test]
36+ run : uv pip install -e " .[test]"
3637
3738 - name : Test with unittest
3839 env :
Original file line number Diff line number Diff line change @@ -26,10 +26,12 @@ jobs:
2626 enable-cache : true
2727
2828 - name : Create virtual environment
29- run : uv venv --clear .venv
29+ run : |
30+ uv venv --clear .venv
31+ echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3032
3133 - name : Install dependencies
32- run : uv pip install --python .venv/bin/python codespell tomli
34+ run : uv pip install codespell tomli
3335
3436 - name : Run Codespell
35- run : uv run --python .venv/bin/python codespell .
37+ run : codespell .
Original file line number Diff line number Diff line change 3535 echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3636
3737 - name : Install dependencies
38- run : uv pip install -e .[docs]
38+ run : uv pip install -e " .[docs]"
3939
4040 - name : Configure Git for GitHub Pages
4141 run : |
Original file line number Diff line number Diff line change 3131 echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3232
3333 - name : Install dependencies
34- run : uv pip install -e .[docs]
34+ run : uv pip install -e " .[docs]"
3535
3636 - name : Build documentation with Sphinx
3737 run : |
Original file line number Diff line number Diff line change @@ -26,12 +26,14 @@ jobs:
2626 enable-cache : true
2727
2828 - name : Create virtual environment
29- run : uv venv --clear .venv
29+ run : |
30+ uv venv --clear .venv
31+ echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3032
3133 - name : Install dependencies
32- run : uv pip install --python .venv/bin/python "mdformat>=0.7.0" "mdformat-myst>=0.1.5"
34+ run : uv pip install "mdformat>=0.7.0" "mdformat-myst>=0.1.5"
3335
3436 - name : Run mdformat (check only)
3537 run : |
36- uv run --python .venv/bin/python mdformat --check --wrap no --number docs/
37- uv run --python .venv/bin/python mdformat --check --wrap no --number *.md
38+ mdformat --check --wrap no --number docs/
39+ mdformat --check --wrap no --number *.md
Original file line number Diff line number Diff line change 4444 echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
4545
4646 - name : Install dependencies
47- run : uv pip install -e .[examples]
47+ run : uv pip install -e " .[examples]"
4848
4949 - name : Test notebook structure and imports
5050 run : |
Original file line number Diff line number Diff line change @@ -24,10 +24,12 @@ jobs:
2424 enable-cache : true
2525
2626 - name : Create virtual environment
27- run : uv venv --clear .venv
27+ run : |
28+ uv venv --clear .venv
29+ echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
2830
2931 - name : Install Ruff
30- run : uv pip install --python .venv/bin/python "ruff>=0.8.0"
32+ run : uv pip install "ruff>=0.8.0"
3133
3234 - name : Run Ruff linter
33- run : uv run --python .venv/bin/python ruff check .
35+ run : ruff check .
You can’t perform that action at this time.
0 commit comments