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,20 +22,17 @@ jobs:
2222 uses : actions/setup-python@v6
2323 with :
2424 python-version : ${{ matrix.python-version }}
25- cache : pip
2625
27- - name : Install dependencies
28- run : |
29- python -m pip install --upgrade pip
30- pip install -r requirements-dev.txt
26+ - name : Set up uv
27+ uses : astral-sh/setup-uv@v6
3128
3229 - name : Run Django system checks
33- run : python manage.py check
30+ run : uv run --no-project --with-requirements requirements-dev.txt python manage.py check
3431
3532 - name : Run pre-commit
36- run : pre-commit run --all-files
33+ run : uv run --no-project --with-requirements requirements-dev.txt pre-commit run --all-files
3734
3835 - name : Run unit tests with coverage
3936 run : |
40- coverage run manage.py test
41- coverage report --fail-under=80
37+ uv run --no-project --with-requirements requirements-dev.txt coverage run manage.py test
38+ uv run --no-project --with-requirements requirements-dev.txt coverage report --fail-under=80
You can’t perform that action at this time.
0 commit comments