Skip to content

Commit

Permalink
add touch command in Makefile to create junit report if does not exist
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <[email protected]>
  • Loading branch information
michael-valdron committed Aug 30, 2023
1 parent 2c763a2 commit e1f6c87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ test: manifests generate fmt vet envtest ## Run tests.
.PHONY: test-integration
test-integration:
CGO_ENABLED=0 go test -v -c -o $(LOCALBIN)/devfileregistry-operator-integration ./tests/integration/cmd/devfileregistry_test.go
# Create junit report output file if does not exist
touch /tmp/artifacts/junit-devfileregistry-operator.xml
$(LOCALBIN)/devfileregistry-operator-integration -ginkgo.fail-fast --ginkgo.junit-report=/tmp/artifacts/junit-devfileregistry-operator.xml

##@ Build
Expand Down

0 comments on commit e1f6c87

Please sign in to comment.