ci: upload mypy coverage artifacts
This commit is contained in:
parent
dc642b5a6d
commit
f939daac99
2 changed files with 8 additions and 0 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -33,6 +33,11 @@ jobs:
|
|||
|
||||
- run: scripts/ci/run
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: .mypy-coverage
|
||||
path: .mypy-coverage/
|
||||
|
||||
pypi:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build] # add all other jobs here
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -36,7 +36,10 @@ commands =
|
|||
# todo I guess use a script...
|
||||
python3 -m mypy -p my.hypothesis \
|
||||
-p my.instapaper \
|
||||
--txt-report .mypy-coverage \
|
||||
--html-report .mypy-coverage \
|
||||
{posargs}
|
||||
# txt report is a bit more convenient to view on CI
|
||||
|
||||
|
||||
# ideally, keep core modules only here
|
||||
|
|
Loading…
Add table
Reference in a new issue