Skip to content

Commit a3938d1

Browse files
[FEATURE] Adds type checking to github CI - AIL-44
1 parent b38f9d5 commit a3938d1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ on:
66
pull_request:
77

88
jobs:
9+
type_check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: '3.9'
19+
20+
- name: Install Mypy Dependencies
21+
run: pip install mypy
22+
23+
- name: Type Checking with Mypy
24+
run: mypy --strict --install-types --non-interactive learnosity_sdk
25+
926
tests:
1027
runs-on: ubuntu-latest
1128
strategy:

0 commit comments

Comments
 (0)