Update CI installation steps

This commit is contained in:
Sonny Bakker 2024-08-24 15:36:14 +02:00
parent 07c685401f
commit b6805c1675
3 changed files with 6 additions and 3 deletions

View file

@ -2,7 +2,8 @@ python-linting:
stage: lint
image: python:3.11
before_script:
- uv pip install --requirement requirements/ci.txt
- pip install --system uv
- uv pip install --system --requirement requirements/ci.txt
script:
- isort --check-only src/
- black --line-length 88 --check src/

View file

@ -6,7 +6,8 @@ python-tests:
- memcached:1.5.22
image: python:3.11
before_script:
- uv pip install --requirement requirements/ci.txt
- pip install --system uv
- uv pip install --system --requirement requirements/ci.txt
script:
- coverage run ./src/manage.py test newsreader