Skip to content

Commit 21d0a0c

Browse files
author
jaypan
committed
Try
1 parent 3dbe50e commit 21d0a0c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/brand-new-chain-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
brand-new-test:
2828
runs-on: ubuntu-20.04
2929
steps:
30+
- name: Show the inputs
31+
run: |
32+
echo "Chain: ${{ github.event.inputs.chain }}"
33+
echo "Testcases: ${{ github.event.inputs.testcases }}"
3034
- name: Clone simple CI
3135
uses: GuillaumeFalourd/clone-github-repo-action@v2.3
3236
with:
@@ -174,4 +178,6 @@ jobs:
174178
export SET_DATETIME=${DATETIME}
175179
# [TODO] Use the docker image to regenerate the docker image...
176180
# Need to check several things
177-
bash -x new.chain.test.bash --chain ${{ github.event.inputs.chain }} --test ${{ github.event.inputs.testcases }}
181+
chain=${{ github.event.inputs.chain }} || "peaq-dev"
182+
testcases=${{ github.event.inputs.testcases }} || "all"
183+
bash -x new.chain.test.bash --chain $chain --test $testcases

0 commit comments

Comments
 (0)