Skip to content

Commit 7f63b49

Browse files
authored
runtests.py: list tests to run in typeshed CI (python#9638)
* runtests.py: add tests to run in typeshed CI Running a subset of tests will help speed up typeshed CI. I don't think typeshed really benefits from running all the other tests. Worst case if something breaks, it'll be caught when typeshed is synced in mypy. * remove typeshed-ci from DEFAULT_COMMANDS Co-authored-by: hauntsaninja <>
1 parent 22f5278 commit 7f63b49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
MYPYC_EXTERNAL,
7575
MYPYC_COMMAND_LINE,
7676
ERROR_STREAM]),
77+
# Test cases to run in typeshed CI
78+
'typeshed-ci': 'pytest -k "%s"' % ' or '.join([CMDLINE, EVALUATION, SAMPLES, TYPESHED]),
7779
# Mypyc tests that aren't run by default, since they are slow and rarely
7880
# fail for commits that don't touch mypyc
7981
'mypyc-extra': 'pytest -k "%s"' % ' or '.join(MYPYC_OPT_IN),
@@ -82,7 +84,7 @@
8284
# Stop run immediately if these commands fail
8385
FAST_FAIL = ['self', 'lint']
8486

85-
DEFAULT_COMMANDS = [cmd for cmd in cmds if cmd != 'mypyc-extra']
87+
DEFAULT_COMMANDS = [cmd for cmd in cmds if cmd not in ('mypyc-extra', 'typeshed-ci')]
8688

8789
assert all(cmd in cmds for cmd in FAST_FAIL)
8890

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy