File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 44---
55
66name : test
7+
8+ # yamllint disable-line rule:line-length
79run-name : " test: ${{ github.event.workflow_run.head_branch }}#${{ github.event.workflow_run.head_commit.id }}"
810
911on : # yamllint disable-line rule:truthy
1012 workflow_run :
1113 workflows : ["build"]
1214 types :
1315 - completed
16+
1417jobs :
1518 test :
1619 env :
5760 && date -u
5861
5962 - name : Run
63+ id : run
6064 run : |
6165 set -x
6266 export ZPC_RUN_MODE="docker"
6771 cd z-wave-stack-binaries/bin && file -E *_x86_REALTIME.elf && cd -
6872 export ZPC_ARGS="--log.level=d"
6973 ./scripts/tests/z-wave-stack-binaries-test.sh
74+ continue-on-error : true
75+
76+ - name : Propagate run status to commit status
77+ uses : actions/github-script@v7
78+ if : always()
79+ env :
80+ status : ${{ steps.run.outcome }}
81+ sha : ${{ github.event.workflow_run.head_commit.id }}
82+ with :
83+ script : |
84+ await github.rest.repos.createCommitStatus({
85+ owner: context.repo.owner,
86+ repo: context.repo.repo,
87+ sha: context.sha,
88+ state: process.env.status
89+ })
90+ process.exit(process.env.status == 'success' ? 0 : 1);
You can’t perform that action at this time.
0 commit comments