diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3649c544e0..d832a9f5cc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: runs-on: ubuntu-latest env: TERM: xterm + COVERAGE_RCFILE: pyproject.toml steps: - uses: actions/checkout@v3 with: diff --git a/pyproject.toml b/pyproject.toml index 3851df413b..70f23ea6cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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',