8000 Add Mypy to CI runs (#802) · jorwoods/server-client-python@d107c48 · GitHub
[go: up one dir, main page]

Skip to content

Commit d107c48

Browse files
authored
Add Mypy to CI runs (tableau#802)
Add mypy runs to CI, but skip misc errors, so we only see the important stuff. For now these are non blocking.
1 parent 6c7a87b commit d107c48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
pip install -e .[test]
26+
pip install mypy
2627
2728
- name: Lint with pycodestyle
2829
run: |
@@ -31,3 +32,7 @@ jobs:
3132
- name: Test with pytest
3233
run: |
3334
pytest test
35+
- name: Run Mypy but allow failures
36+
run: |
37+
mypy --show-error-codes --disable-error-code misc tableauserverclient
38+
continue-on-error: true

0 commit comments

Comments
 (0)
0