Skip to content

Merge pull request #114 from ghazi-git/support-django-6.0 #397

Merge pull request #114 from ghazi-git/support-django-6.0

Merge pull request #114 from ghazi-git/support-django-6.0 #397

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: 3.12
- name: Generate coverage report
run: |
pip install .
pip install django~=5.2 pytest pytest-django pytest-cov drf-spectacular django-filter
pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true