Skip to content

Commit

Permalink
nox: force setup.cfg as the pytest config
Browse files Browse the repository at this point in the history
This was causing some errors in the integration tests.

pytest-dev/pytest-cov#237

Signed-off-by: Filipe Laíns <lains@archlinux.org>
  • Loading branch information
FFY00 committed Aug 6, 2020
1 parent 1a4b198 commit 2cc673b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Expand Up @@ -22,7 +22,7 @@ def test(session):

session.install('.[test]')

session.run('pytest', '--cov',
session.run('pytest', '--cov', '--cov-config', 'setup.cfg',
f'--cov-report=html:{htmlcov_output}',
f'--cov-report=xml:{xmlcov_output}',
'tests/', *session.posargs)

0 comments on commit 2cc673b

Please sign in to comment.