|
8 | 8 |
|
9 | 9 | # Slow test suites
|
10 | 10 | CMDLINE = "PythonCmdline"
|
11 |
| -SAMPLES = "SamplesSuite" |
12 |
| -TYPESHED = "TypeshedSuite" |
13 | 11 | PEP561 = "PEP561Suite"
|
14 | 12 | EVALUATION = "PythonEvaluation"
|
15 | 13 | DAEMON = "testdaemon"
|
|
24 | 22 |
|
25 | 23 | ALL_NON_FAST = [
|
26 | 24 | CMDLINE,
|
27 |
| - SAMPLES, |
28 |
| - TYPESHED, |
29 | 25 | PEP561,
|
30 | 26 | EVALUATION,
|
31 | 27 | DAEMON,
|
|
71 | 67 | "pytest",
|
72 | 68 | "-q",
|
73 | 69 | "-k",
|
74 |
| - " or ".join([SAMPLES, TYPESHED, DAEMON, MYPYC_EXTERNAL, MYPYC_COMMAND_LINE, ERROR_STREAM]), |
| 70 | + " or ".join([DAEMON, MYPYC_EXTERNAL, MYPYC_COMMAND_LINE, ERROR_STREAM]), |
75 | 71 | ],
|
76 | 72 | # Test cases that might take minutes to run
|
77 | 73 | "pytest-extra": ["pytest", "-q", "-k", " or ".join(PYTEST_OPT_IN)],
|
78 |
| - # Test cases to run in typeshed CI |
79 |
| - "typeshed-ci": ["pytest", "-q", "-k", " or ".join([CMDLINE, EVALUATION, SAMPLES, TYPESHED])], |
80 | 74 | # Mypyc tests that aren't run by default, since they are slow and rarely
|
81 | 75 | # fail for commits that don't touch mypyc
|
82 | 76 | "mypyc-extra": ["pytest", "-q", "-k", " or ".join(MYPYC_OPT_IN)],
|
|
85 | 79 | # Stop run immediately if these commands fail
|
86 | 80 | FAST_FAIL = ["self", "lint"]
|
87 | 81 |
|
88 |
| -EXTRA_COMMANDS = ("pytest-extra", "mypyc-extra", "typeshed-ci") |
| 82 | +EXTRA_COMMANDS = ("pytest-extra", "mypyc-extra") |
89 | 83 | DEFAULT_COMMANDS = [cmd for cmd in cmds if cmd not in EXTRA_COMMANDS]
|
90 | 84 |
|
91 | 85 | assert all(cmd in cmds for cmd in FAST_FAIL)
|
|
0 commit comments