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 <[email protected]>
  • Loading branch information
FFY00 committed Aug 6, 2020
1 parent 90d55a4 commit da62e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
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 da62e93

Please sign in to comment.