Skip to content

docs: 📚 update doc config to remove obsolete helpers #273

docs: 📚 update doc config to remove obsolete helpers

docs: 📚 update doc config to remove obsolete helpers #273

Workflow file for this run

name: coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run-tests-and-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root
- name: Run tests with coverage
run: |
poetry run coverage run -m django test --settings=tests.test_settings
poetry run coverage report
poetry run coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}