Skip to content

chore(ci): add codecov integration to Travis - #1085

Merged
max-wittig merged 2 commits into
masterfrom
chore/codecov-travis
Apr 26, 2020
Merged

chore(ci): add codecov integration to Travis#1085
max-wittig merged 2 commits into
masterfrom
chore/codecov-travis

Conversation

@nejch

@nejch nejch commented Apr 25, 2020

Copy link
Copy Markdown
Member

We discussed adding some kind of coverage reporting, codecov seemed to be the easiest to add. After this is merged, codecov should also start reporting PR comments with a summary (on successful builds):
https://docs.codecov.io/docs/pull-request-comments

Edit: ah the summary is already here :) If this comment style is too intrusive, we can probably customize this to make it smaller with codecov.yml. Looks like there was an initial run a few years ago, since this reports against an old master commit. I'll look into adding this as a separate check as well. Seems like we can later split unit and functional tests into separate checks with flags.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #1085 into master will increase coverage by 51.52%.
The diff coverage is 79.75%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1085       +/-   ##
===========================================
+ Coverage   25.16%   76.68%   +51.52%     
===========================================
  Files          16       10        -6     
  Lines        4598     2758     -1840     
===========================================
+ Hits         1157     2115      +958     
+ Misses       3441      643     -2798     
Impacted Files Coverage Δ
gitlab/__main__.py 0.00% <0.00%> (ø)
gitlab/v4/cli.py 40.47% <ø> (ø)
gitlab/v4/objects.py 78.50% <ø> (+46.63%) ⬆️
gitlab/mixins.py 76.32% <67.15%> (+64.99%) ⬆️
gitlab/base.py 83.07% <71.79%> (+62.02%) ⬆️
gitlab/utils.py 65.38% <80.00%> (+38.11%) ⬆️
gitlab/types.py 92.59% <92.59%> (ø)
gitlab/config.py 92.62% <93.65%> (+79.36%) ⬆️
gitlab/const.py 100.00% <100.00%> (ø)
gitlab/exceptions.py 97.76% <100.00%> (+95.95%) ⬆️
... and 8 more

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 5a75310...e230568. Read the comment docs.

@max-wittig

Copy link
Copy Markdown
Member

Cool feature!

@max-wittig
max-wittig merged commit 91c1c27 into master Apr 26, 2020
@max-wittig
max-wittig deleted the chore/codecov-travis branch April 26, 2020 12:14
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.

4 participants