summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/code-quality.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml
index 66495ad..daefa2c 100644
--- a/.github/workflows/code-quality.yml
+++ b/.github/workflows/code-quality.yml
@@ -46,6 +46,24 @@ jobs:
- name: Run Flake8
run: flake8
+ type-checking:
+ name: Type Checking
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.6'
+
+ - name: Install MyPy
+ run: pip install mypy hypothesis pytest pytest-mock
+
+ - name: Run MyPy
+ run: mypy --strict natsort tests
+
package-validation:
name: Package Validation
runs-on: ubuntu-latest