Fix nox session for slow CI tests
- when running tests marked with "r" we still must not run tests marked with "db" on the CI server
This commit is contained in:
parent
cb7611d587
commit
8926e9ff28
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ def test(session):
|
||||||
# test cases that require the slow installation of R and some packages.
|
# test cases that require the slow installation of R and some packages.
|
||||||
if session.env.get('_slow_ci_tests'):
|
if session.env.get('_slow_ci_tests'):
|
||||||
session.run(
|
session.run(
|
||||||
'pytest', '--randomly-seed=4287', '-m', 'r', PYTEST_LOCATION,
|
'pytest', '--randomly-seed=4287', '-m', 'r and not db', PYTEST_LOCATION,
|
||||||
)
|
)
|
||||||
|
|
||||||
# In the "ci-tests-slow" session, we do not run any test tool
|
# In the "ci-tests-slow" session, we do not run any test tool
|
||||||
|
|
Loading…
Reference in a new issue