summaryrefslogtreecommitdiff
path: root/.github/workflows/run-on-pr.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/run-on-pr.yaml')
-rw-r--r--.github/workflows/run-on-pr.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/run-on-pr.yaml b/.github/workflows/run-on-pr.yaml
index 4943b3e..6a90b03 100644
--- a/.github/workflows/run-on-pr.yaml
+++ b/.github/workflows/run-on-pr.yaml
@@ -48,3 +48,34 @@ jobs:
- name: Run tests
run: tox -e py-${{ matrix.sqlalchemy }}
+
+ run-mypy:
+ name: mypy-${{ matrix.python-version }}-${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os:
+ - "ubuntu-latest"
+ python-version:
+ - "3.9"
+
+ fail-fast: false
+
+ steps:
+ - name: Checkout repo
+ uses: actions/checkout@v2
+
+ - name: Set up python
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ architecture: ${{ matrix.architecture }}
+
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install --upgrade tox setuptools
+ pip list
+
+ - name: Run mypy
+ run: tox -e mypy