Skip to content

Commit bc9bc06

Browse files
authored
Run some mypyc tests in the third-party workflow (#260)
Add some mypyc tests to the third-party workflow
1 parent fc5243b commit bc9bc06

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/third_party.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ jobs:
247247
cd typed-argument-parser
248248
pytest
249249
250-
stubtest:
251-
name: stubtest tests
250+
mypy:
251+
name: stubtest & mypyc tests
252252
if: >-
253253
# if 'schedule' was the trigger,
254254
# don't run it on contributors' forks
@@ -266,7 +266,7 @@ jobs:
266266
runs-on: ubuntu-latest
267267
timeout-minutes: 60
268268
steps:
269-
- name: Checkout mypy for stubtest tests
269+
- name: Checkout mypy for stubtest and mypyc tests
270270
uses: actions/checkout@v3
271271
with:
272272
repository: python/mypy
@@ -288,10 +288,10 @@ jobs:
288288
run: pip install ./typing-extensions-latest
289289
- name: List all installed dependencies
290290
run: pip freeze --all
291-
- name: Run stubtest tests
291+
- name: Run stubtest & mypyc tests
292292
run: |
293293
cd mypy
294-
pytest ./mypy/test/teststubtest.py
294+
pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py
295295
296296
cattrs:
297297
name: cattrs tests
@@ -347,7 +347,7 @@ jobs:
347347
- pyanalyze
348348
- typeguard
349349
- typed-argument-parser
350-
- stubtest
350+
- mypy
351351
- cattrs
352352

353353
if: >-
@@ -361,7 +361,7 @@ jobs:
361361
|| needs.pyanalyze.result == 'failure'
362362
|| needs.typeguard.result == 'failure'
363363
|| needs.typed-argument-parser.result == 'failure'
364-
|| needs.stubtest.result == 'failure'
364+
|| needs.mypy.result == 'failure'
365365
|| needs.cattrs.result == 'failure'
366366
)
367367
}}

0 commit comments

Comments
 (0)