Version 2.3.0: Non-zero exit status on test failure #35
ghost
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release changes the exit code of gotestfmt to a non-zero status if one or more tests fail. This behavior is consistent with the exit status of
go test
. We have added this to make sure CI doesn't pass on failing tests if users forget to addset -euo pipefail
. This behavior can be disabled by passing the-nofail
option in the command line.Thank you to @gabesullice for reporting this issue.
Get the release here
Beta Was this translation helpful? Give feedback.
All reactions