summaryrefslogtreecommitdiff
path: root/noxfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'noxfile.py')
-rw-r--r--noxfile.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/noxfile.py b/noxfile.py
index e852294..b25854c 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -44,7 +44,9 @@ def test(session):
@session(python=False, name='test-current')
def test_current(session):
"""Run tests using the current virtualenv"""
- test(session)
+ test_paths = session.posargs or [UNIT_TESTS, INTEGRATION_TESTS]
+ cmd = f'pytest -rs {XDIST_ARGS}'
+ session.run(*cmd.split(' '), *test_paths)
@session(python=False)