Skip to content

Commit dd326d7

Browse files
committed
Revert 4bb2911
Use COVERAGE_RCFILE environment variable instead of --cov-config. See pytest-dev/pytest-cov#557.
1 parent c5642c1 commit dd326d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
env:
2020
TERM: xterm
21+
COVERAGE_RCFILE: pyproject.toml
2122
steps:
2223
- uses: actions/checkout@v3
2324
with:

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,13 @@ doctest_optionflags = ['ELLIPSIS', 'NORMALIZE_WHITESPACE',
127127
'IGNORE_EXCEPTION_DETAIL']
128128
addopts = """\
129129
--durations=20 -r X --doctest-glob='*.rst' \
130-
--cov-config=pyproject.toml -n auto \
130+
-n auto \
131131
"""
132132
norecursedirs = ['build', '.eggs', '.git']
133133
timeout = 1000
134134
xfail_strict = true
135135
filterwarnings = ['ignore::UserWarning',
136-
'error::DeprecationWarning',
137-
'ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning']
136+
'error::DeprecationWarning']
138137
[tool.coverage.run]
139138
branch = true
140139
omit = ['conftest.py',

0 commit comments

Comments
 (0)