Skip to content

Commit

Permalink
Merge pull request #16644 from famod/ci-surefire-reports-cancelled
Browse files Browse the repository at this point in the history
CI: 'Upload Surefire reports' also for cancelled()
  • Loading branch information
gsmet authored Apr 20, 2021
2 parents 9a0d0b0 + 520bf68 commit f0777b5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-JVM Tests - JDK ${{matrix.java.name}}"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-JVM Tests - JDK 11 Windows"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-Maven Tests - JDK ${{matrix.java.name}}"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -403,7 +403,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-Maven Tests - JDK 11 Windows"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:
run: ./mvnw $COMMON_MAVEN_ARGS $JVM_TEST_MAVEN_OPTS install -pl integration-tests/gradle ${{ needs.build-jdk11.outputs.gib_args }}
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-Gradle Tests - JDK 11 ${{matrix.os.family}}"
path: "**/build/test-results/test/TEST-*.xml"
Expand Down Expand Up @@ -527,7 +527,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-Devtools Tests - JDK ${{matrix.java.name}}"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -577,7 +577,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-Devtools Tests - JDK 11 Windows"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -641,7 +641,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-MicroProfile TCKs Tests"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -730,7 +730,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-Native Tests - ${{matrix.category}}"
path: "**/target/*-reports/TEST-*.xml"
Expand Down Expand Up @@ -817,7 +817,7 @@ jobs:
path: 'test-reports.tgz'
- name: Upload Surefire reports (if build failed)
uses: actions/upload-artifact@v2
if: failure()
if: ${{ failure() || cancelled() }}
with:
name: "surefire-reports-Native Tests - Windows - ${{matrix.category}}"
path: "**/target/*-reports/TEST-*.xml"
Expand Down

0 comments on commit f0777b5

Please sign in to comment.