Skip to content

Commit

Permalink
fix: Unable to build ibctest binary (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNix authored and jtieri committed Jan 6, 2023
1 parent 96ea120 commit c7de889
Show file tree
Hide file tree
Showing 22 changed files with 336 additions and 9,188 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
# run tests
- name: run unit tests
run: go test -race -timeout 30m -v -p 2 ./...
test-cmd-ibctest:
name: test-cmd-ibctest
# -short flag purposefully omitted because there are some longer unit tests
run: go test -race -timeout 10m -p 2 $(go list ./... | grep -v /cmd | grep -v /examples)
test-conformance:
name: test-conformance
runs-on: [self-hosted, linux]
steps:
# Install and setup go
Expand All @@ -52,7 +53,7 @@ jobs:
# run tests
- name: run conformance tests
run: (cd cmd/ibctest && go test -race -timeout 30m -v -p 2 ./...) || (echo "\n\n*****CHAIN and RELAYER LOGS*****" && cat "$HOME/.ibctest/logs/ibctest.log" && exit 1)
run: (go test -race -timeout 30m -v -p 2 ./cmd/ibctest) || (echo "\n\n*****CHAIN and RELAYER LOGS*****" && cat "$HOME/.ibctest/logs/ibctest.log" && exit 1)
test-ibc-examples:
name: test-ibc-examples
runs-on: [self-hosted, linux]
Expand All @@ -73,7 +74,7 @@ jobs:
# run tests
- name: run example ibc tests
run: cd examples/ibc && go test -race -timeout 30m -v -p 2 ./...
run: go test -race -timeout 30m -v -p 2 ./examples/ibc
test-cosmos-examples:
name: test-cosmos-examples
runs-on: [self-hosted, linux]
Expand All @@ -94,4 +95,4 @@ jobs:
# run tests
- name: run example cosmos tests
run: cd examples/cosmos && go test -race -timeout 30m -v -p 2 ./...
run: go test -race -timeout 30m -v -p 2 ./examples/cosmos
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ibctest: gen ## Build ibctest binary into ./bin

.PHONY: test
test: ## Run unit tests
@go test -cover -short -race -timeout=60s $(shell go list ./... | grep -v /cmd/)
@go test -cover -short -race -timeout=60s ./...

.PHONY: docker-reset
docker-reset: ## Attempt to delete all running containers. Useful if ibctest does not exit cleanly.
Expand Down
195 changes: 0 additions & 195 deletions cmd/ibctest/go.mod

This file was deleted.

Loading

0 comments on commit c7de889

Please sign in to comment.