From 4985a4041770eaa0016271809a1fd950dc809a55 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Tue, 18 Feb 2025 20:29:29 -0600 Subject: [cleanup] Misc (#12238) Authored by: StefanLobbenmeier, dirkf, Grub4K Co-authored-by: Stefan Lobbenmeier Co-authored-by: dirkf Co-authored-by: Simon Sawicki --- devscripts/run_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'devscripts/run_tests.py') 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', '') -- cgit v1.2.3