From 6d8f8734ba5cfde67f93fd7129cbbd0799b2a745 Mon Sep 17 00:00:00 2001 From: rpessoa Date: Mon, 4 Nov 2024 11:46:09 +0000 Subject: [PATCH] [FEATURE] Adds type checking to github CI - AIL-44 --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70f0f2f..af63453 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,23 @@ on: pull_request: jobs: + type_check: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.9' + + - name: Install Mypy Dependencies + run: pip install mypy + + - name: Type Checking with Mypy + run: mypy --strict learnosity_sdk + tests: runs-on: ubuntu-latest strategy: