microsoft/lightgbm
main
fix/bash-settings
In .ci/test.sh (the main script that runs most test jobs on Linux / macOS here), the order of arguments in the bash configuration is flipped.
.ci/test.sh
bash
https://github.com/lightgbm-org/LightGBM/blob/5831ee577776949d26d21efa581ec904bda80483/.ci/test.sh#L3
It should be -u (fail on unset variables) followed by -o pipefail (fail the first time any step in a pipeline raises a non-0 exit code).
-u
-o pipefail
This could have been allowing failures in some of the pipelines to silently pass π¬
This PR fixes that, so we get big loud errors right when they first happen in CI.