Skip to content

Commit

Permalink
ci: add failfast to go test
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Mar 7, 2024
1 parent fc25bc2 commit 63dcefe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
test-integration:
go test ./integration/... -timeout 30m
go test -failfast ./integration/... -timeout 30m

test-integration-cov:
go test ./integration/... -timeout 30m -coverpkg=../... -coverprofile=integration-profile.out -covermode=atomic
go test -failfast ./integration/... -timeout 30m -coverpkg=../... -coverprofile=integration-profile.out -covermode=atomic

test-e2e:
go test ./e2e/... -mod=readonly -timeout 30m -race -tags='e2e'
go test ./e2e/... -failfast -mod=readonly -timeout 30m -race -tags='e2e'

test-e2e-cov:
go test ./e2e/... -mod=readonly -timeout 30m -race -tags='e2e' -coverpkg=../... -coverprofile=e2e-profile.out -covermode=atomic
go test ./e2e/... -failfast -mod=readonly -timeout 30m -race -tags='e2e' -coverpkg=../... -coverprofile=e2e-profile.out -covermode=atomic

0 comments on commit 63dcefe

Please sign in to comment.