Skip to content

Commit

Permalink
chore: update Makefile to enable running tests like we do in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri committed Oct 1, 2024
1 parent 0d51d4a commit 1ea3529
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@ interchaintest: gen ## Build interchaintest binary into ./bin

.PHONY: test
test: ## Run unit tests
@go test -cover -short -race -timeout=60s ./...
@go test -cover -short -race -timeout=30m -failfast -p 2 $(go list ./... | grep -v /cmd | grep -v /examples)

.PHONY: test-conformance
test-conformance: ## Run e2e conformance tests
@go test -race -timeout 30m -failfast -v -p 2 ./cmd/interchaintest

.PHONY: test-ibc-examples
test-ibc-examples: ## Run e2e ibc example tests
@go test -race -timeout 30m -failfast -v -p 2 ./examples/ibc

.PHONY: test-cosmos-examples
test-cosmos-examples: ## Run e2e cosmos example tests
@go test -race -failfast -timeout 30m -v -p 2 ./examples/cosmos

.PHONY: docker-reset
docker-reset: ## Attempt to delete all running containers. Useful if interchaintest does not exit cleanly.
Expand Down

0 comments on commit 1ea3529

Please sign in to comment.