Skip to content

Commit

Permalink
Test the engine within the makefile and execute docker or podman test…
Browse files Browse the repository at this point in the history
… case

Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Jan 7, 2025
1 parent 43678a8 commit 10fdf1c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,9 @@ embedded-resources: kustomize helm
.PHONY: e2e
e2e: build
@echo "CONTAINER_ENGINE: $(CONTAINER_ENGINE)"
go test -v -p 1 -timeout 15m --tags=e2e ./tests/e2e/...
ifeq ($(CONTAINER_ENGINE), docker)
go test -v -p 1 -timeout 15m --tags=e2e ./tests/e2e/docker/...
endif
ifeq ($(CONTAINER_ENGINE), podman)
go test -v -p 1 -timeout 15m --tags=e2e ./tests/e2e/podman/...
endif

0 comments on commit 10fdf1c

Please sign in to comment.