mirror of
https://github.com/b4tman/sync_ics2gcal
synced 2025-01-21 07:28:24 +00:00
ci: check with mypy + upload report
This commit is contained in:
parent
7b62e2c583
commit
0778fbe51f
11
.github/workflows/pythonpackage.yml
vendored
11
.github/workflows/pythonpackage.yml
vendored
@ -39,3 +39,14 @@ jobs:
|
||||
poetry run flake8 sync_ics2gcal --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: poetry run pytest -v
|
||||
|
||||
- name: Check type annotations with mypy
|
||||
run: |
|
||||
mkdir mypy_report
|
||||
poetry run mypy --pretty --html-report mypy_report/
|
||||
|
||||
- name: Upload mypy report
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: mypy_report
|
||||
path: mypy_report/
|
||||
|
Loading…
Reference in New Issue
Block a user