Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@smashwilson
Copy link
Contributor

Please be sure to read the contributor's guide to the GitHub package before submitting any pull requests.

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • Suggestion: You can use checklists to keep track of progress for the sections on metrics, tests, documentation, and user research.

Description of the Change

Upgrade the codecov package to the lastest commit on master to take advantage of codecov/codecov-node#114, which should report additional build metadata (like the PR number) from Azure DevOps builds. I'm hopeful that this will make the coverage report a bit more useful.

Alternate Designs

I could also fork the package and publish it under @smashwilson like I did for the test runner. This is slightly less effort though, and this way Greenkeeper will let us know when the next upstream release happens.

Benefits

Poking around the CodeCov UI, it looks like coverage reports submitted as pull requests have slightly different functionality than the builds we've been seeing:

screen shot 2018-12-14 at 8 34 20 am

I'm particularly intrigued by the "changes" tab there.

I bet this will let us re-enable the changes build status for PR builds that I turned off in #1827 (for pull requests). It might also open the way for coverage change comments.

Possible Drawbacks

It'll take slightly longer to install. It's also a bit messy to depend on git SHAs. But hopefully that's temporary.

Applicable Issues

n/a

Metrics

n/a

Tests

If this uploads correctly, I might add tests for something we don't currently cover to see what the coverage deltas look like.

Documentation

n/a

Release Notes

n/a

User Experience Research (Optional)

"Do we, the developers, understand the coverage reports better" 😉

@smashwilson smashwilson added the ci label Dec 14, 2018
@codecov
Copy link

codecov bot commented Dec 14, 2018

Codecov Report

Merging #1845 into master will increase coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1845      +/-   ##
==========================================
+ Coverage   90.74%   90.85%   +0.11%     
==========================================
  Files         195      195              
  Lines       10729    10727       -2     
  Branches     1570     1570              
==========================================
+ Hits         9736     9746      +10     
+ Misses        993      981      -12
Impacted Files Coverage Δ
lib/models/repository-states/present.js 95.02% <ø> (+1.72%) ⬆️
lib/atom/decoration.js 84.33% <100%> (-0.19%) ⬇️
lib/atom/atom-text-editor.js 98% <100%> (-0.04%) ⬇️
lib/git-shell-out-strategy.js 87.7% <0%> (+0.53%) ⬆️

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 91f31db...e5b50b3. Read the comment docs.

@smashwilson smashwilson requested a review from a team December 14, 2018 16:54
Copy link

@annthurium annthurium left a comment

Choose a reason for hiding this comment

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

yay thanks!! Looking forward to improved coverage reports.

Also thanks for backfilling that test coverage.

@smashwilson smashwilson merged commit a10a8b3 into master Dec 14, 2018
@smashwilson smashwilson deleted the aw/codecov-pin branch December 14, 2018 18:46
@eddiemoore
Copy link

@smashwilson Azure pipelines have now been released as of codecov v3.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants