diff --git a/.github/actions/publish-bazel-test-results/action.yml b/.github/actions/publish-bazel-test-results/action.yml index 479653aa4754b..307282d990827 100644 --- a/.github/actions/publish-bazel-test-results/action.yml +++ b/.github/actions/publish-bazel-test-results/action.yml @@ -30,6 +30,11 @@ runs: echo '' >> "${{ inputs.merged-results }}" fi + - name: Add hostname to testsuites + shell: bash + run: | + xmlstarlet ed --inplace -i '/testsuites/testsuite' -t attr -n hostname -v "${{ runner.name }}" "${{ inputs.merged-results }}" + - name: Upload report as artifact if: inputs.artifact-name != '' uses: actions/upload-artifact@v4 diff --git a/apt-requirements.txt b/apt-requirements.txt index 8c90ad0d35a80..fff10bd5848b5 100644 --- a/apt-requirements.txt +++ b/apt-requirements.txt @@ -48,6 +48,7 @@ python3-urllib3 python3-wheel srecord tree +xmlstarlet xsltproc zlib1g-dev xz-utils