Exit at first error

This commit is contained in:
Andrea Maria Piana 2023-06-29 07:45:04 +00:00
parent 09c5223d77
commit 9839e8ac23
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ test-unit: UNIT_TEST_PACKAGES = $(shell go list ./... | \
grep -v /transactions/fake )
test-unit: ##@tests Run unit and integration tests
for file in $(UNIT_TEST_PACKAGES); do \
set -e; \
go test -tags '$(BUILD_TAGS)' -timeout 20m -v -failfast $$file $(gotest_extraflags); \
done