Skip to content

Commit

Permalink
Revert 4bb2911
Browse files Browse the repository at this point in the history
Use COVERAGE_RCFILE environment variable instead of --cov-config.
See pytest-dev/pytest-cov#557.
  • Loading branch information
skirpichev committed Aug 18, 2023
1 parent c5642c1 commit dd326d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Expand Up @@ -18,6 +18,7 @@ jobs:
runs-on: ubuntu-latest
env:
TERM: xterm
COVERAGE_RCFILE: pyproject.toml
steps:
- uses: actions/checkout@v3
with:
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Expand Up @@ -127,14 +127,13 @@ doctest_optionflags = ['ELLIPSIS', 'NORMALIZE_WHITESPACE',
'IGNORE_EXCEPTION_DETAIL']
addopts = """\
--durations=20 -r X --doctest-glob='*.rst' \
--cov-config=pyproject.toml -n auto \
-n auto \
"""
norecursedirs = ['build', '.eggs', '.git']
timeout = 1000
xfail_strict = true
filterwarnings = ['ignore::UserWarning',
'error::DeprecationWarning',
'ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning']
'error::DeprecationWarning']
[tool.coverage.run]
branch = true
omit = ['conftest.py',
Expand Down

0 comments on commit dd326d7

Please sign in to comment.