diff --git a/.github/actions/run-transport-interop-test/action.yml b/.github/actions/run-transport-interop-test/action.yml index a68903a41..2e1bf25a2 100644 --- a/.github/actions/run-transport-interop-test/action.yml +++ b/.github/actions/run-transport-interop-test/action.yml @@ -44,6 +44,10 @@ inputs: description: "Enable verbose output" required: false default: false + known-errors: + description: "Regex for known test failures. Matched failures show as yellow instead of red and won't fail the workflow. Merged with knownErrors.json if present." + required: false + default: "" runs: using: "composite" steps: @@ -103,7 +107,12 @@ runs: - name: Render results if: inputs.render == 'true' working-directory: ${{ steps.find-workdir.outputs.WORK_DIR }} - run: npm run renderResults > ./dashboard.md + run: | + if [ -n "${{ inputs.known-errors }}" ]; then + npm run renderResults -- --known-errors "${{ inputs.known-errors }}" > ./dashboard.md + else + npm run renderResults > ./dashboard.md + fi shell: bash - name: Show Dashboard Output