Skip to content
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

[WIP] Enable codecov #4631

Merged
merged 6 commits into from Mar 29, 2019
Merged

[WIP] Enable codecov #4631

merged 6 commits into from Mar 29, 2019

Conversation

@pentschev
Copy link
Member

@pentschev pentschev commented Mar 26, 2019

Solves #2218.

cc @mrocklin @jakirkham @TomAugspurger

  • Tests added / passed
  • Passes flake8 dask
@pentschev pentschev changed the title Enable codecov [WIP] Enable codecov Mar 26, 2019
@codecov-io
Copy link

@codecov-io codecov-io commented Mar 26, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #4631   +/-   ##
=========================================
  Coverage          ?   91.02%           
=========================================
  Files             ?       92           
  Lines             ?    17165           
  Branches          ?        0           
=========================================
  Hits              ?    15624           
  Misses            ?     1541           
  Partials          ?        0

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 cb58d97...fa87b94. Read the comment docs.

@pentschev
Copy link
Member Author

@pentschev pentschev commented Mar 26, 2019

Looks like we have something here already. We should probably tweak what options we want to enable, and maybe decide on enforcement policy. For now I suggest we don't enforce coverage maintenance (i.e., that it's never negative) but provide this as a tool for developers to check how PRs affect the project, at least until we are comfortable that options we set suit our needs.

@jakirkham
Copy link
Member

@jakirkham jakirkham commented Mar 26, 2019

Generally seems ok to me.

Would slightly prefer if we could turn the comments off (to cutdown on noise). Also would be good to enable the status information so we can link to the details on their website as needed.

@pentschev
Copy link
Member Author

@pentschev pentschev commented Mar 26, 2019

Generally seems ok to me.

Would slightly prefer if we could turn the comments off (to cutdown on noise). Also would be good to enable the status information so we can link to the details on their website as needed.

Agreed.

@pentschev
Copy link
Member Author

@pentschev pentschev commented Mar 27, 2019

I think to get codecov statuses we need to install its Codecov Github app. Could someone with permissions do that?

@mrocklin
Copy link
Member

@mrocklin mrocklin commented Mar 27, 2019

Done, I think

@pentschev
Copy link
Member Author

@pentschev pentschev commented Mar 27, 2019

We have status now, thanks @mrocklin for installing the app. I've attempted to add coverage for each submodule, but they all seem to redirect to the same place, I'm not sure if that's because there's no report (we have to merge to get it first) or something wrong with the configuration.

Either way, would you say we should have codecov status for each submodule as different projects or just a single one? I'm personally fine with either.

@jakirkham
Copy link
Member

@jakirkham jakirkham commented Mar 28, 2019

Thanks Matt!

No strong feelings. We might be ok with just one report near term. However if that's difficult to do, wouldn't worry about it.

@pentschev
Copy link
Member Author

@pentschev pentschev commented Mar 28, 2019

@pentschev
Copy link
Member Author

@pentschev pentschev commented Mar 28, 2019

Ok, we now have the status for a single project setup. Unless someone already knows about other options that we may want, I would suggest we merge this PR and start looking at codecov comparisons after this to improve it further, since I don't think we can see the comparisons before it gets merged and creates a baseline report.

@mrocklin
Copy link
Member

@mrocklin mrocklin commented Mar 29, 2019

OK to merge?

@jrbourbeau
Copy link
Member

@jrbourbeau jrbourbeau commented Mar 29, 2019

+1 from me

@mrocklin mrocklin merged commit c7e35aa into dask:master Mar 29, 2019
4 checks passed
@pentschev pentschev deleted the enable-codecov branch Apr 17, 2019
jorge-pessoa pushed a commit to jorge-pessoa/dask that referenced this issue May 14, 2019
* Add default .coverage.yml, but comments off and range 90...100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants