Skip to content

[WIP] Enable codecov#4631

Merged
mrocklin merged 6 commits intodask:masterfrom
pentschev:enable-codecov
Mar 29, 2019
Merged

[WIP] Enable codecov#4631
mrocklin merged 6 commits intodask:masterfrom
pentschev:enable-codecov

Conversation

@pentschev
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
Member Author

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
Copy Markdown
Member

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
Copy Markdown
Member Author

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
Copy Markdown
Member Author

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

@mrocklin
Copy link
Copy Markdown
Member

Done, I think

@pentschev
Copy link
Copy Markdown
Member Author

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
Copy Markdown
Member

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
Copy Markdown
Member Author

pentschev commented Mar 28, 2019 via email

@pentschev
Copy link
Copy Markdown
Member Author

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
Copy Markdown
Member

OK to merge?

@jrbourbeau
Copy link
Copy Markdown
Member

+1 from me

@mrocklin mrocklin merged commit c7e35aa into dask:master Mar 29, 2019
@pentschev pentschev deleted the enable-codecov branch April 17, 2019 08:11
jorge-pessoa pushed a commit to jorge-pessoa/dask that referenced this pull request 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

Development

Successfully merging this pull request may close these issues.

5 participants