From 2b9c129f158f9fb2212015016497f4cde459770d Mon Sep 17 00:00:00 2001 From: yito88 Date: Thu, 25 Apr 2024 16:40:43 +0200 Subject: [PATCH] install gaiad for e2e tests --- .github/workflows/build-and-test.yml | 7 +++++++ .github/workflows/scripts/gaia.txt | 1 + 2 files changed, 8 insertions(+) create mode 100644 .github/workflows/scripts/gaia.txt diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b674e83633..96491221bc 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -675,6 +675,12 @@ jobs: curl -o hermes.zip -LO https://github.com/heliaxdev/hermes/releases/download/v${HERMES_VERSION}/hermes-v${HERMES_VERSION}-x86_64-unknown-linux-gnu.zip unzip hermes.zip mv hermes /usr/local/bin + - name: Download Gaia + run: | + GAIA_VERSION=$(cat .github/workflows/scripts/gaia.txt) + echo "Using gaiad version: ${GAIA_VERSION}" + curl -o gaiad -LO https://github.com/cosmos/gaia/releases/download/v${GAIA_VERSION}/gaiad-v${GAIA_VERSION}-linux-amd64 + mv gaiad /usr/local/bin - name: Change permissions run: | chmod +x target/release/namada @@ -684,6 +690,7 @@ jobs: chmod +x target/release/namadar chmod +x /usr/local/bin/cometbft chmod +x /usr/local/bin/hermes + chmod +x /usr/local/bin/gaiad - name: Run e2e test run: python3 .github/workflows/scripts/schedule-e2e.py env: diff --git a/.github/workflows/scripts/gaia.txt b/.github/workflows/scripts/gaia.txt new file mode 100644 index 0000000000..6c43fc8aef --- /dev/null +++ b/.github/workflows/scripts/gaia.txt @@ -0,0 +1 @@ +15.2.0