From 0d77d16c988d2eee6c8f3820e74e8518aa57d37b Mon Sep 17 00:00:00 2001 From: Luca Joss Date: Thu, 4 Jan 2024 16:35:05 +0100 Subject: [PATCH] Fix NAMDA_REPO_PATH setup in CI job --- .github/workflows/integration.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index e18ff44643..a030421a0f 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -761,6 +761,9 @@ jobs: args: -p ibc-integration-test --features namada --no-fail-fast --no-run - name: Install cargo-nextest run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin + - name: Retrieve Namada repository path + id: namada-repo-path + run: echo "NAMADA_REPO_PATH=$(nix build .#namada-src --print-out-paths)" >> "$GITHUB_OUTPUT" - env: RUST_LOG: info RUST_BACKTRACE: 1 @@ -768,7 +771,7 @@ jobs: CHAIN_COMMAND_PATHS: ${{ matrix.chain.command }} ACCOUNT_PREFIXES: ${{ matrix.chain.account_prefix }} NATIVE_TOKENS: ${{ matrix.chain.native_token }} - NAMADA_REPO_PATH: $(nix build .#namada-src --print-out-paths) + NAMADA_REPO_PATH: ${{ steps.namada-repo-path.outputs.NAMADA_REPO_PATH }} run: | nix shell ${{ matrix.chain.package }} -c \ cargo nextest run -p ibc-integration-test --no-fail-fast --failure-output final --test-threads=1 \