Exit at first error
This commit is contained in:
parent
09c5223d77
commit
9839e8ac23
1
Makefile
1
Makefile
|
@ -313,6 +313,7 @@ test-unit: UNIT_TEST_PACKAGES = $(shell go list ./... | \
|
||||||
grep -v /transactions/fake )
|
grep -v /transactions/fake )
|
||||||
test-unit: ##@tests Run unit and integration tests
|
test-unit: ##@tests Run unit and integration tests
|
||||||
for file in $(UNIT_TEST_PACKAGES); do \
|
for file in $(UNIT_TEST_PACKAGES); do \
|
||||||
|
set -e; \
|
||||||
go test -tags '$(BUILD_TAGS)' -timeout 20m -v -failfast $$file $(gotest_extraflags); \
|
go test -tags '$(BUILD_TAGS)' -timeout 20m -v -failfast $$file $(gotest_extraflags); \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue