Skip to content

Instantly share code, notes, and snippets.

@embeddedt
Created July 19, 2021 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save embeddedt/ef5d96d3482c760351caf444732ac5ae to your computer and use it in GitHub Desktop.
Save embeddedt/ef5d96d3482c760351caf444732ac5ae to your computer and use it in GitHub Desktop.
Codecov failure information
coverage==5.5
Django==3.1.12
pytest==6.2.4
pytest-cov==2.12.1
pytest-django==4.4.0
[coverage:run]
source = .
omit = */node_modules/*, env/*, */asgi.py, */*wsgi.py, manage.py, settings.py, */migrations/*.py, */commands/*.py
branch = True
[coverage:report]
show_missing = True
skip_covered = True
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
from
import
AppConfig
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
# checkout, setup-python, etc.
- name: Run tests
run: |
coverage erase
coverage run manage.py test
coverage report
coverage xml
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment