Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtests.py: list tests to run in typeshed CI #9638

Merged
merged 2 commits into from
Oct 27, 2020

Conversation

hauntsaninja
Copy link
Collaborator

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.

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.
@@ -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]),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also update DEFAULT_COMMANDS below to not include this (or maybe get rid of it, since it's super error-prone, and use a flag here or something).

@hauntsaninja hauntsaninja merged commit 7f63b49 into python:master Oct 27, 2020
@hauntsaninja hauntsaninja deleted the typci branch October 27, 2020 21:35
hauntsaninja pushed a commit to hauntsaninja/typeshed that referenced this pull request Oct 27, 2020
Only a subset of mypy's test suite should be relevant to typeshed:
python/mypy#9638
This should make things faster.
(Also the -n12 argument to pytest is weird; note mypy's pytest.ini
automatically specificies -nauto which is what we should want)

Resolves python#4333
srittau pushed a commit to python/typeshed that referenced this pull request Oct 28, 2020
Only a subset of mypy's test suite should be relevant to typeshed:
python/mypy#9638
This should make things faster.
(Also the -n12 argument to pytest is weird; note mypy's pytest.ini
automatically specificies -nauto which is what we should want)

Resolves #4333

Co-authored-by: hauntsaninja <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants