Skip to content

Commit 352d118

Browse files
authored
chore: Fix TCK GitHub actions (#567)
Make the pipeline fail when the TCK has failure (otherwise, the exit code that is reported is for `tee`). Signed-off-by: Jeff Mesnil <jmesnil@ibm.com>
1 parent f693849 commit 352d118

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/run-tck-1.0-wip.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
id: run-tck
106106
timeout-minutes: 5
107107
run: |
108+
set -o pipefail
108109
./run_tck.py --sut-url ${{ env.SUT_JSONRPC_URL }} --category all --transports jsonrpc --compliance-report report.json 2>&1 | tee tck-output.log
109110
working-directory: tck/a2a-tck
110111
- name: Capture Diagnostics on Failure

.github/workflows/run-tck.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
id: run-tck
108108
timeout-minutes: 5
109109
run: |
110+
set -o pipefail
110111
./run_tck.py --sut-url ${{ env.SUT_JSONRPC_URL }} --category all --transports jsonrpc,grpc,rest --compliance-report report.json 2>&1 | tee tck-output.log
111112
working-directory: tck/a2a-tck
112113
- name: Capture Diagnostics on Failure

0 commit comments

Comments
 (0)