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

Update ci-go-cover.yml #404

Merged
merged 4 commits into from
May 15, 2023
Merged

Update ci-go-cover.yml #404

merged 4 commits into from
May 15, 2023

Conversation

x448
Copy link
Contributor

@x448 x448 commented May 14, 2023

Description

  • Add triggers:
    • pull_request
    • workflow_dispatch
  • Bump Go to 1.20.

Closes #403

@fxamacker The template for PRs should be updated to make CI files considered same way as docs: no signature required by contributor.

x448 and others added 2 commits May 14, 2023 16:54
Add triggers:
- pull_request
- workflow_dispatch
Bump Go to 1.20.
Reduce min coverage to 96% (was 98%) since the Diagnose() and DiagnoseFirst() functions reduced code coverage because of error path .

These two functions return diagnostic notation for debugging,
so CBOR encoding/decoding functions are unaffected
(still >= 98% coverage).
Copy link
Owner

@fxamacker fxamacker left a comment

Choose a reason for hiding this comment

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

Thanks! I had to reduce min coverage to 96% because new Diagnose() and DiagnoseFirst() reduced code coverage due to error path.

These two functions return diagnostic notation for debugging, so we're still at 98% coverage for the CBOR encoding/decoding functions.

fxamacker added 2 commits May 14, 2023 19:17
Install github.com/x448/[email protected] manually.
@fxamacker fxamacker merged commit 32a24cd into fxamacker:master May 15, 2023
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.

CI: Check for code coverage dropping below 98% before PR is merged
2 participants