aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authormmstanone2021-12-14 15:27:39 +0100
committermmstanone2021-12-14 15:27:39 +0100
commit8e79128527cbe861647962bbc1b36c436a5857a2 (patch)
treef7e7ae6f13221b8e86ae31ffce4f353a9b75859c /.github/workflows
parentbef98299ab8893900102cb9a6da564f81076d7f3 (diff)
downloadsec-certs-8e79128527cbe861647962bbc1b36c436a5857a2.tar.gz
sec-certs-8e79128527cbe861647962bbc1b36c436a5857a2.tar.zst
sec-certs-8e79128527cbe861647962bbc1b36c436a5857a2.zip
Added mypy workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/mypy.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml
new file mode 100644
index 00000000..ce7d2ea2
--- /dev/null
+++ b/.github/workflows/mypy.yml
@@ -0,0 +1,16 @@
+name: Code analysis using mypy
+on: [push]
+jobs:
+ run-mypy:
+ runs-on: ubuntu-latest
+ steps:
+ - name : Setup python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.8'
+ - name: Install python dependencies
+ run: pip install -r requirements.txt
+ - name: Install mypy
+ run: pip install mypy
+ - name: Run mypy
+ run: mypy --ignore-missing-imports *.py sec_certs/