ci(traceability): tolerate SDK conformance failures in the run step (#290)
The `sdk` command exits non-zero when the SDK has conformance failures not in its baseline. The traceability manifest only needs the emitted check IDs (written regardless of pass/fail), so a failing SDK must not fail the refresh. Add `|| true`; the existing 'no results produced' guard catches a genuinely broken run.
This commit is contained in:
parent
26e09df154
commit
e5afe404ad
1 changed files with 5 additions and 2 deletions
7
.github/workflows/traceability.yml
vendored
7
.github/workflows/traceability.yml
vendored
|
|
@ -52,9 +52,12 @@ jobs:
|
|||
- name: Run conformance suites against the reference SDK
|
||||
# `sdk` requires --mode client|server; run both into the same results dir
|
||||
# (the second reuses the cached checkout + build via --skip-build).
|
||||
# `|| true`: the manifest only needs the emitted check IDs (written
|
||||
# regardless of pass/fail), so SDK conformance failures must not fail
|
||||
# this step. The "no results produced" guard below is the real safety net.
|
||||
run: |
|
||||
node dist/index.js sdk "$SDK_REF" --mode client --suite all -o results
|
||||
node dist/index.js sdk "$SDK_REF" --mode server --suite all --skip-build -o results
|
||||
node dist/index.js sdk "$SDK_REF" --mode client --suite all -o results || true
|
||||
node dist/index.js sdk "$SDK_REF" --mode server --suite all --skip-build -o results || true
|
||||
|
||||
- name: Fail if no results were produced
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue