Always upload test results + fix cgo enabling for tests
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -79,10 +79,11 @@ test-bench: TEST_FLAGS+=-bench=.
|
||||
test-bench: test ## Run benchmark tests
|
||||
|
||||
.PHONY: test-e2e
|
||||
test-e2e: CGO_ENABLED=1
|
||||
test-e2e: bin/probod ## Run console e2e tests
|
||||
PROBO_E2E_BINARY=$(CURDIR)/bin/probod \
|
||||
PROBO_E2E_CONFIG=$(E2E_CONFIG) \
|
||||
CGO_ENABLED=1 GOTESTSUM_FORMAT=testname $(GO_TEST) -count=1 ./e2e/console/...
|
||||
GOTESTSUM_FORMAT=testname $(GO_TEST) -count=1 ./e2e/console/...
|
||||
|
||||
bin/probod-coverage:
|
||||
CGO_ENABLED=0 $(GO_BUILD) -cover -o $@ $(PROBOD_SRC)
|
||||
|
||||
Reference in New Issue
Block a user