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

go/lint: add optional check for code coverage threshold #215

Merged
merged 2 commits into from
Jul 27, 2021

Conversation

adamdecaf
Copy link
Member

@adamdecaf adamdecaf commented Jul 27, 2021

Each project can opt-in to threshold checking inside their workflow.

    - name: Check
      env:
        COVER_THRESHOLD: 85.0
      run: make check

@codecov-commenter
Copy link

codecov-commenter commented Jul 27, 2021

Codecov Report

Merging #215 (fe0c468) into master (10a62bd) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #215   +/-   ##
=======================================
  Coverage   78.37%   78.37%           
=======================================
  Files           1        1           
  Lines          37       37           
=======================================
  Hits           29       29           
  Misses          4        4           
  Partials        4        4           

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 10a62bd...fe0c468. Read the comment docs.

@adamdecaf
Copy link
Member Author

Project has 86.2% statement coverage.
SUCCESS: project has sufficient statement coverage

@adamdecaf adamdecaf merged commit a3205a1 into moov-io:master Jul 27, 2021
@adamdecaf adamdecaf deleted the code-coverage-threshold branch July 27, 2021 21:34
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

3 participants