From 571548f1fa5ceaf79d62d809462b77933d5cff90 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 17 Feb 2021 00:44:03 +0300 Subject: Add type checking to gh workflows --- .github/workflows/python-app.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3