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

Prevent False Positives in CI #4642

Merged
merged 6 commits into from
Oct 24, 2024
Merged

Prevent False Positives in CI #4642

merged 6 commits into from
Oct 24, 2024

Conversation

jamlo
Copy link
Contributor

@jamlo jamlo commented Oct 21, 2024

Since all of our CI scripts are run with BASH, we need to make sure that any unexpected non zero exit code instruction in the script should fail the CI run.

We need to add the snippet below to all our CI scripts:

set -eu -o pipefail

Note: After this change the lint tests are red, which is good, since they were failing before but the test was passing. There is an already created issue for that: #4605

@jamlo jamlo requested review from wdbaruni and frrist October 21, 2024 22:03
@jamlo jamlo marked this pull request as ready for review October 22, 2024 14:28
@jamlo jamlo requested a review from wdbaruni October 23, 2024 13:16
@jamlo jamlo merged commit e0bcded into main Oct 24, 2024
7 checks passed
@jamlo jamlo deleted the jamlo/ci-prevent-false-positives branch October 24, 2024 13:57
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.

2 participants