tune when mypy is run

This commit is contained in:
Jeff Epler 2023-10-03 09:01:37 -05:00
parent f280d36d26
commit b5e7f3eff6
No known key found for this signature in database
GPG key ID: D5BF15AB975AB4DE

View file

@ -52,10 +52,10 @@ jobs:
runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v2.2.0
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
@ -63,7 +63,7 @@ jobs:
run: python -mpip install -r requirements-dev.txt
- name: Check stubs
if: (! startsWith(matrix.python-version, 'pypy-'))
if: (startsWith(matrix.python-version, '3.12') && startswith(matrix.os-version, 'ubuntu-'))
run: mypy --strict *.py
- name: Test