Skip to content

test(evm): backend tests with test network and real txs #2757

test(evm): backend tests with test network and real txs

test(evm): backend tests with test network and real txs #2757

Workflow file for this run

name: CosmWasm e2e tests
on:
# On normal PRs or when workflow goreleaser finishes, as it gets the last release tag.
pull_request:
# Allow concurrent runs on main/release branches but isolates other branches
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
jobs:
e2e-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download release
id: latest_release
uses: pozetroninc/[email protected]
with:
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: download release
uses: robinraju/[email protected]
with:
# uses latest (including drafts)
# tag: ${{ steps.latest_release.outputs.release }}
# uses latest (excluding drafts) as tagged by GitHub
latest: true
fileName: "*linux_amd64.tar.gz"
- name: unpack release
run: |
tar -xzf *linux_amd64.tar.gz
rm nibid*.gz
mv nibid* nibid || true
mv nibid /usr/local/bin/
echo "nibid version: $(nibid version)"
- name: "Install just"
# casey/just: https://just.systems/man/en/chapter_6.html
# taiki-e/install-action: https://github.com/taiki-e/install-action
uses: taiki-e/install-action@just
- name: "launch localnet"
run: |
just localnet --no-build &
sleep 6
- name: run e2e tests
run: |
sh ./contrib/scripts/e2e/deploy-wasm.sh