fix interchaintest image location #940
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Interchain Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
id: build_push_image | |
uses: docker/build-push-action@v3 | |
with: | |
file: Dockerfile | |
context: . | |
push: true | |
platforms: linux/amd64 | |
tags: | | |
ghcr.io/composablefi/composable-cosmos/centauri-ictest:latest | |
test-start-cosmos-chain: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- run: make ictest-start-cosmos | |
env: | |
BRANCH_CI: "latest" | |
test-upgrade-cosmos-chain: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- run: make ictest-upgrade | |
env: | |
BRANCH_CI: "latest" | |
test-start-polkadot-chain: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- run: make ictest-start-polkadot | |
env: | |
BRANCH_CI: "latest" | |
test-validators: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- run: make ictest-validator | |
env: | |
BRANCH_CI: "latest" | |
# test-ibc-transfer: | |
# runs-on: ubuntu-latest | |
# needs: build-and-push-image | |
# steps: | |
# - name: Set up Go 1.19 | |
# uses: actions/setup-go@v3 | |
# with: | |
# go-version: 1.19 | |
# - name: checkout code | |
# uses: actions/checkout@v3 | |
# - run: make ictest-ibc | |
# env: | |
# BRANCH_CI: "latest" | |
# test-push-wasm: | |
# runs-on: ubuntu-latest | |
# needs: build-and-push-image | |
# steps: | |
# - name: Set up Go 1.19 | |
# uses: actions/setup-go@v3 | |
# with: | |
# go-version: 1.19 | |
# - name: checkout code | |
# uses: actions/checkout@v3 | |
# - run: make ictest-push-wasm | |
# env: | |
# BRANCH_CI: "latest" |