diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a30fcc9cf3..846becd603 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -267,13 +267,6 @@ jobs: - name: Checkout registry uses: ./.github/actions/checkout-registry - - name: agent tests (CosmWasm) - run: cargo test --release --package run-locally --bin run-locally --features cosmos -- cosmos::test --nocapture - if: matrix.e2e-type == 'cosmwasm' - working-directory: ./rust/main - env: - RUST_BACKTRACE: 'full' - - name: Check for Rust file changes id: check-rust-changes run: | @@ -284,6 +277,13 @@ jobs: echo "rust_changes=false" >> $GITHUB_OUTPUT fi + - name: agent tests (CosmWasm) + run: cargo test --release --package run-locally --bin run-locally --features cosmos -- cosmos::test --nocapture + if: matrix.e2e-type == 'cosmwasm' + working-directory: ./rust/main + env: + RUST_BACKTRACE: 'full' + - name: agent tests (EVM) run: cargo run --release --bin run-locally --features test-utils if: matrix.e2e-type == 'evm' @@ -296,7 +296,7 @@ jobs: - name: agent tests (Sealevel) run: cargo test --release --package run-locally --bin run-locally --features sealevel -- sealevel::test --nocapture - if: matrix.e2e-type == 'evm' && ${{ steps.check-rust-changes.outputs.rust_changes }} + if: matrix.e2e-type == 'sealevel' && ${{ steps.check-rust-changes.outputs.rust_changes }} working-directory: ./rust/main env: E2E_CI_MODE: 'true'