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

fix(ci): Fail properly on "vet", "mod-tidy", and "coverage" steps #619

Merged
merged 2 commits into from Apr 4, 2023

Conversation

tonyo
Copy link
Member

@tonyo tonyo commented Apr 4, 2023

In #609 we noticed that "make vet" was failing on one of the modules (GA job), but the CI job was actually green.
Here we're fixing it by telling bash to exit on any non-zero return code.

@tonyo tonyo requested a review from cleptric April 4, 2023 08:50
@tonyo tonyo self-assigned this Apr 4, 2023
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.07 🎉

Comparison is base (12a5ed1) 79.77% compared to head (3dae3a5) 79.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #619      +/-   ##
==========================================
+ Coverage   79.77%   79.84%   +0.07%     
==========================================
  Files          38       38              
  Lines        3861     3861              
==========================================
+ Hits         3080     3083       +3     
+ Misses        673      671       -2     
+ Partials      108      107       -1     

see 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tonyo tonyo merged commit 0d7c935 into master Apr 4, 2023
14 checks passed
@tonyo tonyo deleted the tonyo/exit-on-error-vet branch April 4, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants