Skip to content

Travis: add coverage reporting via pytest-cov on codecov.io #520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 5, 2017

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Sep 26, 2017

@blueyed blueyed force-pushed the coverage branch 2 times, most recently from 460aece to 89e7d48 Compare September 27, 2017 00:36
@codecov-io
Copy link

codecov-io commented Sep 27, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@6c5d3fb). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #520   +/-   ##
=========================================
  Coverage          ?   85.72%           
=========================================
  Files             ?       32           
  Lines             ?     1611           
  Branches          ?      139           
=========================================
  Hits              ?     1381           
  Misses            ?      177           
  Partials          ?       53
Flag Coverage Δ
#django110 81.81% <ø> (?)
#django111 83.55% <ø> (?)
#django17 79.63% <ø> (?)
#django18 80.81% <ø> (?)
#django19 79.88% <ø> (?)
#mysql_innodb 79.08% <ø> (?)
#mysql_myisam 79.01% <ø> (?)
#postgres 81.19% <ø> (?)
#py27 82.99% <ø> (?)
#py34 80.88% <ø> (?)
#py35 79.2% <ø> (?)
#py36 80.88% <ø> (?)
#pypy 81.56% <ø> (?)
#pypy3 80.75% <ø> (?)
#pytest3 85.72% <ø> (?)
#sqlite 81.56% <ø> (?)
#sqlite_file 80.38% <ø> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c5d3fb...f6793b2. Read the comment docs.

.travis.yml Outdated
- |
if [[ "$TOXENV%-checkqa" != "$TOXENV" ]]; then
export PYTEST_ADDOPTS='--cov=pytest_django --cov=tests --cov=pytest_django_test --cov-report='
export TOX_EXTRA_DEPS=pytest-cov
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be renamed (see pytest-dev/pytest#2800 (comment)).

@blueyed blueyed force-pushed the coverage branch 3 times, most recently from a6dad3d to 040a875 Compare October 2, 2017 13:31
@blueyed blueyed merged commit 91392ad into pytest-dev:master Oct 5, 2017
@blueyed blueyed deleted the coverage branch October 5, 2017 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants