Skip to content

Commit

Permalink
Run some mypyc tests in the third-party workflow (#260)
Browse files Browse the repository at this point in the history
Add some mypyc tests to the third-party workflow
  • Loading branch information
AlexWaygood committed Jun 30, 2023
1 parent fc5243b commit bc9bc06
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/third_party.yml
Expand Up @@ -247,8 +247,8 @@ jobs:
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
Expand All @@ -266,7 +266,7 @@ jobs:
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
Expand All @@ -288,10 +288,10 @@ jobs:
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
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
- pyanalyze
- typeguard
- typed-argument-parser
- stubtest
- mypy
- cattrs

if: >-
Expand All @@ -361,7 +361,7 @@ jobs:
|| 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'
)
}}
Expand Down

0 comments on commit bc9bc06

Please sign in to comment.