File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,16 @@ jobs:
2424 uses : actions/setup-python@v6
2525 with :
2626 python-version : " 3.10"
27+ - name : Install uv
28+ uses : astral-sh/setup-uv@v3
29+ with :
30+ version : " latest"
2731 - name : Install dependencies
2832 run : |
29- python -m pip install --upgrade pip
30- pip install setuptools wheel tox
33+ uv sync --extra=dev
3134 - name : Run Autoformatter
3235 run : |
33- tox -e ruff
36+ uv run tox -e ruff
3437 statusResult=$(git status -u --porcelain)
3538 if [ -z "$statusResult" ]
3639 then
4144 fi
4245 - name : Run Linter
4346 run : |
44- tox -e flake8
47+ uv run tox -e flake8
4548
4649 build :
4750 needs : lint
@@ -56,19 +59,16 @@ jobs:
5659 uses : actions/setup-python@v6
5760 with :
5861 python-version : ${{ matrix.python_ver }}
62+ - name : Install uv
63+ uses : astral-sh/setup-uv@v3
64+ with :
65+ version : " latest"
5966 - name : Install dependencies
6067 run : |
61- python -m pip install --upgrade pip
62- pip install setuptools wheel tox
63- - name : Install package and test dependencies
64- run : |
65- pip cache purge
66- pip install --upgrade pip setuptools wheel
67- pip install -e .
68- pip install -e .[test]
68+ uv sync --extra test --extra dev
6969 - name : Check Typing
7070 run : |
71- tox -e type
71+ uv run tox -e type
7272 - name : Run Tests
7373 run : |
74- tox -e pytest
74+ uv run tox -e pytest
You can’t perform that action at this time.
0 commit comments