fix: github tests
This commit is contained in:
@@ -15,12 +15,12 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Setup dependencies
|
||||
run: pip install uv && uv pip install --system -r pyproject.toml
|
||||
run: pip install uv
|
||||
- name: Run tests
|
||||
env:
|
||||
DJANGO_SETTINGS_MODULE: config.settings
|
||||
DEBUG: True
|
||||
run: uv run pytest --cov --junitxml=junit.xml -o junit_family=legacy && coverage xml
|
||||
run: uv venv && uv run manage.py collectstatic && uv run pytest --cov --junitxml=junit.xml -o junit_family=legacy && coverage xml
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@v4.0.1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user