Deal with Python 3.7 not having the right types

This commit is contained in:
Quantum 2022-03-17 01:50:30 -04:00
parent a89e52a286
commit 99ff1bb1ba

View file

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9 ] python-version: [ 3.7, 3.8, 3.9, '3.10' ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
@ -32,6 +32,7 @@ jobs:
- name: Lint with flake8 - name: Lint with flake8
run: flake8 . run: flake8 .
- name: Typecheck with mypy - name: Typecheck with mypy
if: matrix.python-version != 3.7
run: mypy . run: mypy .
- name: Test packages - name: Test packages
run: python setup.py sdist bdist_wheel run: python setup.py sdist bdist_wheel