Skip to content

Commit 689cf5a

Browse files
[CI] Make publish-unit-test-result-action always run (#7090)
This change ensures that the step that publishes unit test results always runs, even if previous steps in the job have failed. This is useful for ensuring that test results are always available for inspection, regardless of the outcome of the tests themselves. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 3d29714 commit 689cf5a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,6 @@ jobs:
169169

170170
- name: Publish Test Results
171171
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
172+
if: always()
172173
with:
173174
files: "artifacts/**/*.xml"

.github/workflows/plugins-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
./gradlew plugins:check
3131
- name: Publish Test Results
3232
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
33+
if: always()
3334
with:
3435
files: "**/build/test-results/**/*.xml"
3536
check_name: "plugins test results"

0 commit comments

Comments
 (0)