fix: github tests
This commit is contained in:
@@ -15,12 +15,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: pip install uv && uv pip install --system -r pyproject.toml
|
run: pip install uv
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
env:
|
||||||
DJANGO_SETTINGS_MODULE: config.settings
|
DJANGO_SETTINGS_MODULE: config.settings
|
||||||
DEBUG: True
|
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
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v4.0.1
|
uses: codecov/codecov-action@v4.0.1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user