Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
rename e2e targets
Browse files Browse the repository at this point in the history
  • Loading branch information
nacx committed Feb 9, 2024
1 parent 4496bd7 commit 6ce8450
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions e2e/mock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@

.PHONY: e2e
e2e: e2e-pre
@go test $(E2E_TEST_OPTS) ./... || ( $(MAKE) e2e-test-post-error; exit 1 )
@$(MAKE) e2e-test-post
@go test $(E2E_TEST_OPTS) ./... || ( $(MAKE) e2e-post-error; exit 1 )
@$(MAKE) e2e-post

.PHONY: e2e-pre
e2e-pre:
@docker compose up --detach --wait --force-recreate --remove-orphans || ($(MAKE) e2e-test-post-error; exit 1)
@docker compose up --detach --wait --force-recreate --remove-orphans || ($(MAKE) e2e-post-error; exit 1)

.PHONY: e2e-test-post
e2e-test-post:
.PHONY: e2e-post
e2e-post:
@docker compose down

.PHONY: e2e-test-post-error
e2e-test-post-error: capture-logs
.PHONY: e2e-post-error
e2e-post-error: capture-logs

.PHONY: capture-logs
capture-logs:
Expand Down

0 comments on commit 6ce8450

Please sign in to comment.