Skip to content

Commit

Permalink
Merge pull request #146 from glyph/add-codecov
Browse files Browse the repository at this point in the history
codecov
  • Loading branch information
glyph authored Jun 16, 2022
2 parents 5e04021 + 60c8f67 commit 4260ebb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@ jobs:
echo "Starting: ${TOX_ENV} ${PUSH_DOCS}"
if [[ -n "${TOX_ENV}" ]]; then
tox -e "$TOX_ENV";
fi
if [[ "${TOX_ENV}" != "mypy" ]]; then
tox -e coverage-report;
fi;
fi;
- name: Upload coverage report
if: ${{ matrix.TOX_ENV != 'mypy' }}
uses: codecov/codecov-action@v3.1.0
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ deps = coverage
skip_install = true
commands =
coverage combine
coverage xml
coverage report -m
depends =
{pypy3,py38,py310}-{extras,noextras}
Expand Down

0 comments on commit 4260ebb

Please sign in to comment.