Skip to content

Commit

Permalink
Improve e2e test Makefile targets
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Dec 13, 2024
1 parent 4ec9563 commit 9eb8ef9
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ test-all: test
test:
$(MAKE) -C demo test
$(MAKE) -C x test
$(MAKE) -C tests/e2e/ test

test-e2e:
test-e2e: build-docker-e2e test-e2e-cache

test-e2e-cache:
$(MAKE) -C tests/e2e/ test
$(MAKE) test-e2e-bcd-consumer-integration

clean-e2e:
docker container rm -f $(shell docker container ls -a -q) || true
docker network prune -f || true

###############################################################################
### Linting ###
Expand Down Expand Up @@ -83,6 +89,8 @@ proto-lint:
### Integration e2e ###
###############################################################################

build-docker-e2e: build-ibcsim-bcd build-babylond

build-ibcsim-bcd:
$(MAKE) -C contrib/images ibcsim-bcd

Expand All @@ -95,4 +103,4 @@ start-bcd-consumer-integration:
test-e2e-bcd-consumer-integration: start-bcd-consumer-integration
@cd tests/e2e
@go test -run TestBCDConsumerIntegrationTestSuite -mod=readonly -timeout=60m -v github.com/babylonlabs-io/babylon-sdk/tests/e2e --tags=e2e
@cd -
@cd -

0 comments on commit 9eb8ef9

Please sign in to comment.