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

Add codecov (code coverage) and don't run CI for all pushes #185

Merged
merged 2 commits into from
Oct 14, 2020

Conversation

CasperWA
Copy link
Owner

Upload code coverage report to codecov from a PyTest run for Python 3.8.

Run CI workflow for all PRs, but only for pushes to stable, develop, and push-action/** branches.

Add codecov configuration file.
Check validity of codecov config file in pre-commit (not in CI).

Set threshold to 1 for both project and patch statuses.
@codecov
Copy link

codecov bot commented Oct 14, 2020

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #185   +/-   ##
==========================================
  Coverage           ?   34.12%           
==========================================
  Files              ?       18           
  Lines              ?     2113           
  Branches           ?        0           
==========================================
  Hits               ?      721           
  Misses             ?     1392           
  Partials           ?        0           
Flag Coverage Δ
#optimade-client 34.12% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out 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 38a6b24...33ca235. Read the comment docs.

@CasperWA CasperWA merged commit 4231599 into develop Oct 14, 2020
@CasperWA CasperWA deleted the add_codecov branch October 14, 2020 12:47
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.

1 participant