Run some mypyc tests in the third-party workflow (#260)
Add some mypyc tests to the third-party workflow
diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml
index c80375a..bcb0234 100644
--- a/.github/workflows/third_party.yml
+++ b/.github/workflows/third_party.yml
@@ -247,8 +247,8 @@
cd typed-argument-parser
pytest
- stubtest:
- name: stubtest tests
+ mypy:
+ name: stubtest & mypyc tests
if: >-
# if 'schedule' was the trigger,
# don't run it on contributors' forks
@@ -266,7 +266,7 @@
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- - name: Checkout mypy for stubtest tests
+ - name: Checkout mypy for stubtest and mypyc tests
uses: actions/checkout@v3
with:
repository: python/mypy
@@ -288,10 +288,10 @@
run: pip install ./typing-extensions-latest
- name: List all installed dependencies
run: pip freeze --all
- - name: Run stubtest tests
+ - name: Run stubtest & mypyc tests
run: |
cd mypy
- pytest ./mypy/test/teststubtest.py
+ pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py
cattrs:
name: cattrs tests
@@ -347,7 +347,7 @@
- pyanalyze
- typeguard
- typed-argument-parser
- - stubtest
+ - mypy
- cattrs
if: >-
@@ -361,7 +361,7 @@
|| needs.pyanalyze.result == 'failure'
|| needs.typeguard.result == 'failure'
|| needs.typed-argument-parser.result == 'failure'
- || needs.stubtest.result == 'failure'
+ || needs.mypy.result == 'failure'
|| needs.cattrs.result == 'failure'
)
}}