aboutsummaryrefslogtreecommitdiff
path: root/devscripts
diff options
context:
space:
mode:
Diffstat (limited to 'devscripts')
-rwxr-xr-xdevscripts/run_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devscripts/run_tests.py b/devscripts/run_tests.py
index eb614fe59..ebb3500b6 100755
--- a/devscripts/run_tests.py
+++ b/devscripts/run_tests.py
@@ -25,7 +25,8 @@ def parse_args():
def run_tests(*tests, pattern=None, ci=False):
- run_core = 'core' in tests or (not pattern and not tests)
+ # XXX: hatch uses `tests` if no arguments are passed
+ run_core = 'core' in tests or 'tests' in tests or (not pattern and not tests)
run_download = 'download' in tests
pytest_args = args.pytest_args or os.getenv('HATCH_TEST_ARGS', '')