Skip to content

Commit 0072b1b

Browse files
committed
temp
Signed-off-by: Connor Catlett <[email protected]>
1 parent 5718365 commit 0072b1b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ ifeq ($(FIPS),true)
3939
FIPS_DOCKER_ARGS=--build-arg=GOEXPERIMENT=boringcrypto
4040
endif
4141

42+
ifdef ARTIFACTS
43+
GINKGO_ARTIFACTS_ARGS=--junit-report="$(ARTIFACTS)/junit.xml"
44+
endif
45+
4246
GO_SOURCES=go.mod go.sum $(shell find pkg cmd -type f -name "*.go")
4347

4448
ALL_OS?=linux windows
@@ -72,8 +76,8 @@ clean:
7276
rm -rf bin/
7377

7478
.PHONY: test
75-
test:
76-
go test -v -race ./cmd/... ./pkg/... ./tests/sanity/...
79+
test: bin/ginkgo
80+
./bin/ginkgo run --race -p $(GINKGO_ARTIFACTS_ARGS) ./cmd/... ./pkg/... ./tests/sanity/...
7781

7882
.PHONY: test/coverage
7983
test/coverage:

0 commit comments

Comments
 (0)