From 18b09b850588f01545caaf960e7102a6ab2851e0 Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Thu, 8 Feb 2024 16:04:22 +0100 Subject: [PATCH] add mypy and pylint to the CI --- .github/workflows/testDeploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/testDeploy.yml b/.github/workflows/testDeploy.yml index 26f3e0d..a5593a1 100644 --- a/.github/workflows/testDeploy.yml +++ b/.github/workflows/testDeploy.yml @@ -12,6 +12,27 @@ jobs: src: "./" version: "~= 24.0" + mypy-pylint-linter: + name: run mypy and pylint linter + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: "3.12" + architecture: x64 + - name: Install bashi + run: | + pip install . + - uses: weibullguy/python-lint-plus@v1.12.0 + with: + python-root-list: "." + python-version: "3.12" + architecture: "x64" + use-mypy: true + use-pylint: true + unit-tests: runs-on: ubuntu-latest needs: formatter