diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a7a9d62..39e40a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'windows-latest'] - python-version: [ '3.7', '3.8' ] + python-version: [ '3.7', '3.8', '3.9' ] runs-on: ${{ matrix.os }} name: OS ${{ matrix.os }}, Python ${{ matrix.python-version }} @@ -24,7 +24,12 @@ jobs: with: python-version: ${{ matrix.python-version }} architecture: x64 - + + # Install this package + - name: Install dependencies + run: | + python -m pip install . + # Install dependencies - name: Install dependencies run: | @@ -35,3 +40,9 @@ jobs: - name: Run pytests run: | pytest tests/ --showlocals --verbose + + + # Run mypy + - name: Run mypy + run: | + mypy --strict tests/