Skip to content

Commit a5d56e2

Browse files
fix: hibernate-orm and standard-integration tests to publish results even if failing (#892)
1 parent c02f4ce commit a5d56e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/run-hibernate-orm-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ jobs:
4545
run: |
4646
./gradlew --no-parallel --no-daemon test-hibernate-only
4747
- name: 'Archive junit results'
48-
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
48+
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}}
4949
uses: actions/upload-artifact@v4
5050
with:
5151
name: junit-report
5252
path: ./wrapper/build/test-results
5353
retention-days: 5
5454
- name: 'Archive html summary report'
55-
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
55+
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}}
5656
uses: actions/upload-artifact@v4
5757
with:
5858
name: html-summary-report

.github/workflows/run-standard-integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
run: |
4747
./gradlew --no-parallel --no-daemon test-all-docker
4848
- name: 'Archive junit results'
49-
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
49+
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}}
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: junit-report
5353
path: ./wrapper/build/test-results
5454
retention-days: 5
5555
- name: 'Archive html summary report'
56-
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
56+
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}}
5757
uses: actions/upload-artifact@v4
5858
with:
5959
name: html-summary-report

0 commit comments

Comments
 (0)