diff --git a/.github/workflows/make.yaml b/.github/workflows/make.yaml index c7a891407..7560fe419 100644 --- a/.github/workflows/make.yaml +++ b/.github/workflows/make.yaml @@ -136,6 +136,7 @@ jobs: GOTESTSUM_JUNITFILE: "junit.xml" - name: "Upload test results" uses: "actions/upload-artifact@v4" + if: "always()" with: name: "junit-results" path: "junit.xml" @@ -206,6 +207,7 @@ jobs: GOTESTSUM_JUNITFILE: "junit.xml" - name: "Upload test results" uses: "actions/upload-artifact@v4" + if: "always()" with: name: "junit-results" path: "junit.xml" diff --git a/GNUmakefile b/GNUmakefile index 2f2cecc53..8e81fcd49 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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)