<#17657 `./pants test` exits with status 0 after f...
# github-notifications
q
#17657 `./pants test` exits with status 0 after failing test build New issue created by shelbyd Describe the bug Run
./pants test ::
. Have test file (Go) fail to compile. My error
[ERROR] Completed: Compile with Go - <redacted> failed (exit code 1).
Run
echo $?
. Expected: A non-zero (failing) status code. Observed: A zero (successful) status code. Pants version 2.14.0 OS Only tested on Linux. Additional info Failing with a non-zero code is critical for correct use in CI. Basically every CI system will consider a command successful if the status code is 0. This breaks the ability to trust Pants output in CI. pantsbuild/pants