aboutsummaryrefslogtreecommitdiff
path: root/devscripts/run_tests.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2025-02-18 20:29:29 -0600
committerGitHub <noreply@github.com>2025-02-19 02:29:29 +0000
commit4985a4041770eaa0016271809a1fd950dc809a55 (patch)
treeb16ffbdd6b8282432e4e3fa72bdc19670ab4ad9a /devscripts/run_tests.py
parent01a63629a21781458dcbd38779898e117678f5ff (diff)
[cleanup] Misc (#12238)
Authored by: StefanLobbenmeier, dirkf, Grub4K Co-authored-by: Stefan Lobbenmeier <Stefan.Lobbenmeier@gmail.com> Co-authored-by: dirkf <fieldhouse@gmx.net> Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Diffstat (limited to 'devscripts/run_tests.py')
-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', '')