diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2021-10-29 09:40:06 -0700 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2021-10-29 09:52:53 -0700 |
commit | 13ef04c06f0f2faa63ba5bfe18ceff0bcd0a17f6 (patch) | |
tree | b52c633eb3c1cb2900cdb3145e0cb8bdde301d7b /.github | |
parent | 49e6d7ff48e161ac7437efc194bb1300f2c4adff (diff) | |
download | natsort-13ef04c06f0f2faa63ba5bfe18ceff0bcd0a17f6.tar.gz |
Run mypy in CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/code-quality.yml | 18 |
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 |