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

Allow to decrease the coverage by up to 0.5% #75

Merged

Conversation

marciniwanicki
Copy link
Contributor

@marciniwanicki marciniwanicki commented Jan 10, 2021

Describe your changes
Making all code contributions with nearly 100% coverage is not always worth the effort as such we want to introduce a little margin. We've added a custom codecov config file (.codecov.yml) to pass PR checks if project regresses by less than 0.5% and the coverage of the changes is within 5% threshold compare to the coverage of the main branch.

@codecov
Copy link

codecov bot commented Jan 10, 2021

Codecov Report

Merging #75 (e7790a9) into main (c8c28f4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   96.21%   96.21%           
=======================================
  Files          45       45           
  Lines        1718     1718           
=======================================
  Hits         1653     1653           
  Misses         65       65           

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 c8c28f4...e7790a9. Read the comment docs.

@marciniwanicki marciniwanicki force-pushed the feature/add-codecov-config-file branch 6 times, most recently from c73f793 to 25c2e5f Compare January 10, 2021 17:14
Signed-off-by: Marcin Iwanicki <miwanicki1@bloomberg.net>
Copy link
Contributor

@kwridan kwridan left a comment

Choose a reason for hiding this comment

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

Thanks @marciniwanicki

0.5% might be still too strict, perhaps 1-2 %?

We can try to see how this fairs and revisit.

@marciniwanicki marciniwanicki marked this pull request as ready for review January 15, 2021 08:53
@marciniwanicki marciniwanicki merged commit d0994b7 into bloomberg:main Jan 15, 2021
@marciniwanicki marciniwanicki deleted the feature/add-codecov-config-file branch January 15, 2021 08:54
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.

None yet

2 participants