1
0
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:
Dmitry Belyaev 2022-06-04 15:44:01 +03:00
parent 7b62e2c583
commit 0778fbe51f
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

@ -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/