imp(e2e): stream operator output to stdout #113
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: e2e | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
paths: | |
- '**.rs' | |
- '**.go' | |
- '**.toml' | |
- '**.lock' | |
- '**.mod' | |
- '**.sum' | |
- '**.sol' | |
- '.github/workflows/e2e.yml' | |
- 'bun.lockb' | |
env: | |
FOUNDRY_PROFILE: ci | |
SP1_OPERATOR_REV: b158cc84a50e6924904b48e0220785c1a5e10a98 | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
cache-dependency-path: 'e2e/interchaintestv8/go.sum' | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.59 | |
args: --timeout 5m | |
working-directory: e2e/interchaintestv8 | |
e2e: | |
strategy: | |
fail-fast: false | |
matrix: | |
test: | |
# List your tests here | |
- TestWithIbcEurekaTestSuite/TestDeploy | |
- TestWithIbcEurekaTestSuite/TestICS20Transfer | |
- TestWithIbcEurekaTestSuite/TestICS20TransferNativeSdkCoin | |
- TestWithIbcEurekaTestSuite/TestICS20Timeout | |
name: ${{ matrix.test }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
check-latest: true | |
cache-dependency-path: "e2e/interchaintestv8/go.sum" | |
- name: "Install Bun" | |
uses: "oven-sh/setup-bun@v2" | |
- name: "Install the Node.js dependencies" | |
run: bun install | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: "Cache Operator" | |
id: cache-operator | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
key: ${{ runner.os }}-operator-${{ env.SP1_OPERATOR_REV }} | |
- name: Install SP1 toolchain | |
if: steps.cache-operator.outputs.cache-hit != 'true' | |
run: | | |
curl -L https://sp1.succinct.xyz | bash | |
~/.sp1/bin/sp1up | |
~/.sp1/bin/cargo-prove prove --version | |
- name: Install operator | |
if: steps.cache-operator.outputs.cache-hit != 'true' | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --git https://github.com/cosmos/sp1-ics07-tendermint --rev ${{ env.SP1_OPERATOR_REV }} sp1-ics07-tendermint-operator --bin operator --locked | |
- name: Run Tests | |
env: | |
SP1_PRIVATE_KEY: ${{ secrets.SP1_PRIVATE_KEY }} | |
run: | | |
cd e2e/interchaintestv8 | |
go test -v -mod=readonly . -run '^${{ matrix.test }}$' -timeout 40m |