From 4940526cbc518551f8f589a9e7f1eb6f5d0a4168 Mon Sep 17 00:00:00 2001 From: timrid <6593626+timrid@users.noreply.github.com> Date: Sat, 2 Jan 2021 23:41:02 +0100 Subject: [PATCH 1/2] Update main.yml --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a7a9d62..167b199 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 }} @@ -35,3 +35,9 @@ jobs: - name: Run pytests run: | pytest tests/ --showlocals --verbose + + + # Run mypy + - name: Run mypy + run: | + mypy --strict tests/ From f0f25822a08429995e063e6ace40378029d7fa8d Mon Sep 17 00:00:00 2001 From: timrid <6593626+timrid@users.noreply.github.com> Date: Sat, 2 Jan 2021 23:45:46 +0100 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 167b199..39e40a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: |