bacalhau-project / bacalhau

Compute over Data framework for public, transparent, and optionally verifiable computation
https://docs.bacalhau.org
Apache License 2.0
707 stars 89 forks source link

Prevent False Positives in CI #4642

Closed jamlo closed 4 weeks ago

jamlo commented 1 month ago

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