From 21d0a0cb679920a452e3ec1d4fba02a178215f10 Mon Sep 17 00:00:00 2001 From: jaypan Date: Tue, 10 Sep 2024 18:43:57 +0200 Subject: [PATCH] Try --- .github/workflows/brand-new-chain-test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/brand-new-chain-test.yml b/.github/workflows/brand-new-chain-test.yml index e1a5c7fd..3bd6b1e9 100644 --- a/.github/workflows/brand-new-chain-test.yml +++ b/.github/workflows/brand-new-chain-test.yml @@ -27,6 +27,10 @@ jobs: brand-new-test: runs-on: ubuntu-20.04 steps: + - name: Show the inputs + run: | + echo "Chain: ${{ github.event.inputs.chain }}" + echo "Testcases: ${{ github.event.inputs.testcases }}" - name: Clone simple CI uses: GuillaumeFalourd/clone-github-repo-action@v2.3 with: @@ -174,4 +178,6 @@ jobs: export SET_DATETIME=${DATETIME} # [TODO] Use the docker image to regenerate the docker image... # Need to check several things - bash -x new.chain.test.bash --chain ${{ github.event.inputs.chain }} --test ${{ github.event.inputs.testcases }} + chain=${{ github.event.inputs.chain }} || "peaq-dev" + testcases=${{ github.event.inputs.testcases }} || "all" + bash -x new.chain.test.bash --chain $chain --test $testcases