From 047379caafc573de07087a0718f10d90ed64f5ec Mon Sep 17 00:00:00 2001 From: Alex | Interchain Labs Date: Mon, 10 Mar 2025 11:22:07 -0400 Subject: [PATCH] chore: run systems tests on DI and direct applications (#23930) --- .github/workflows/systemtests.yml | 26 ++++++++++++++++++++++---- Makefile | 1 - 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/systemtests.yml b/.github/workflows/systemtests.yml index 930d16693c..a50be01ecf 100644 --- a/.github/workflows/systemtests.yml +++ b/.github/workflows/systemtests.yml @@ -15,8 +15,10 @@ concurrency: cancel-in-progress: true jobs: - test-system: + setup: runs-on: depot-ubuntu-22.04-4 + outputs: + git_diff: ${{ steps.git_diff.outputs.diff }} steps: - uses: actions/checkout@v4 with: @@ -39,7 +41,23 @@ jobs: **/go.sum **/Makefile Makefile - - name: system tests - if: env.GIT_DIFF + + test-system: + needs: setup + if: needs.setup.outputs.git_diff + runs-on: depot-ubuntu-22.04-4 + steps: + - uses: actions/checkout@v4 + - name: Run system tests run: | - make test-system \ No newline at end of file + make test-system + + test-system-legacy: + needs: setup + if: needs.setup.outputs.git_diff + runs-on: depot-ubuntu-22.04-4 + steps: + - uses: actions/checkout@v4 + - name: Run legacy system tests + run: | + COSMOS_BUILD_OPTIONS=legacy make test-system diff --git a/Makefile b/Makefile index 422e2d940c..70228d60cc 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,6 @@ comma := , build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags)) # process linker flags - ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sim \ -X github.com/cosmos/cosmos-sdk/version.AppName=simd \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \