Skip to content

Commit

Permalink
Add context on coverage config file bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Mar 22, 2020
1 parent 660a316 commit 57ce65e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ jobs:
- name: Unittests and coverage report in destructive mode
env:
DESTRUCTIVE_TESTS: true
# pyproject.toml config file is specified at CLI level instead of letting
# coverage find it because of this bug:
# https://github.com/nedbat/coveragepy/issues/512#issuecomment-399707938
# https://github.com/pytest-dev/pytest-cov/issues/168#issuecomment-327533847
# https://github.com/pytest-dev/pytest-cov/issues/243
run: |
poetry run pytest --cov-config=pyproject.toml --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
Expand Down

0 comments on commit 57ce65e

Please sign in to comment.