aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBonfaceKilz2021-02-17 00:44:03 +0300
committerBonfaceKilz2021-02-24 14:20:29 +0300
commit571548f1fa5ceaf79d62d809462b77933d5cff90 (patch)
tree452cc0e7a27d4e26fb8db22b0b5ff44e2f8bf963 /.github/workflows
parentded3da3a48c1d55643a5b49a165334340b02cf6d (diff)
downloadgenenetwork3-571548f1fa5ceaf79d62d809462b77933d5cff90.tar.gz
Add type checking to gh workflows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/python-app.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index 4e76600..2304e35 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -24,9 +24,12 @@ jobs:
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
+ - name: Type check with mypy
+ run: |
+ mypy .
- name: Lint with pylint
run: |
pylint *py tests gn3
- - name: Test with pytest
+ - name: Run unittests
run: |
python -m unittest discover -v