Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: interchaintest Makefile #462

Merged
merged 2 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/interchaintest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

- run: make ictest-basic
env:
BRANCH_CI: ${{needs.build-and-push-image.outputs.branchTag}}
BRANCH_CI: "latest"

test-quicksilver-ibc:
runs-on: ubuntu-latest
Expand All @@ -84,7 +84,7 @@ jobs:

- run: make ictest-ibc
env:
BRANCH_CI: ${{needs.build-and-push-image.outputs.branchTag}}
BRANCH_CI: "latest"

test-quicksilver-interchainstaking:
runs-on: ubuntu-latest
Expand All @@ -101,4 +101,4 @@ jobs:

- run: make ictest-interchainstaking
env:
BRANCH_CI: ${{needs.build-and-push-image.outputs.branchTag}}
BRANCH_CI: "latest"
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -352,26 +352,28 @@ vet:
###############################################################################

# Executes basic chain tests via interchaintest
ictest-basic:
ictest-basic: ictest-deps
@cd test/interchaintest && go test -v -run TestBasicQuicksilverStart .

# Executes a basic chain upgrade test via interchaintest
ictest-upgrade:
ictest-upgrade: ictest-deps
@cd test/interchaintest && go test -v -run TestBasicQuicksilverUpgrade .

# Executes a basic chain upgrade locally via interchaintest after compiling a local image as quicksilver:local
ictest-upgrade-local: local-image ictest-upgrade
ictest-upgrade-local: local-image ictest-deps ictest-upgrade

# Executes IBC Transfer tests via interchaintest
ictest-ibc:
ictest-ibc: ictest-deps
@cd test/interchaintest && go test -v -run TestQuicksilverJunoIBCTransfer .

# Executes TestInterchainStaking tests via interchaintest
ictest-interchainstaking: ictest-deps
@cd test/interchaintest && go test -v -run TestInterchainStaking .

# Executes all tests via interchaintest after compiling a local image as quicksilver:local
ictest-all: ictest-build ictest-basic ictest-upgrade ictest-ibc ictest-interchainstaking
ictest-all: ictest-setup ictest-basic ictest-upgrade ictest-ibc ictest-interchainstaking

ictest-setup: ictest-build ictest-deps

ictest-build: get-heighliner local-image

Expand All @@ -383,7 +385,6 @@ ictest-deps:
ictest-build-push: ictest-setup
@$(DOCKER) tag quicksilver:local quicksilverzone/quicksilver-e2e:latest
@$(DOCKER) push quicksilverzone/quicksilver-e2e:latest

.PHONY: ictest-basic ictest-upgrade ictest-ibc ictest-all ictest-deps ictest-build ictest-build-push

###############################################################################
Expand Down