diff --git a/runtests.py b/runtests.py index 34d0eb712125..03ef378309b3 100755 --- a/runtests.py +++ b/runtests.py @@ -79,6 +79,8 @@ MYPYC_EXTERNAL, MYPYC_COMMAND_LINE, ERROR_STREAM]), + # Test cases to run in typeshed CI + 'typeshed-ci': 'pytest -k "%s"' % ' or '.join([CMDLINE, EVALUATION, SAMPLES, TYPESHED]), # Mypyc tests that aren't run by default, since they are slow and rarely # fail for commits that don't touch mypyc 'mypyc-extra': 'pytest -k "%s"' % ' or '.join(MYPYC_OPT_IN), @@ -88,7 +90,7 @@ # Stop run immediately if these commands fail FAST_FAIL = ['self', 'lint'] -DEFAULT_COMMANDS = [cmd for cmd in cmds if cmd != 'mypyc-extra'] +DEFAULT_COMMANDS = [cmd for cmd in cmds if cmd not in ('mypyc-extra', 'typeshed-ci')] assert all(cmd in cmds for cmd in FAST_FAIL)