Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,21 @@ jobs:
path: target/jacoco.exec
if-no-files-found: warn

# Surefire's XML is only half the evidence. A fork that crashed or hit
# `forkedProcessTimeoutInSeconds` leaves a `.dump`, `.dumpstream` or `.txt` behind and
# often no XML at all, which is precisely the run whose evidence is worth keeping. The
# whole directory is therefore uploaded rather than a glob over `*.xml`.
#
# `!cancelled()` rather than `success()`, for the same reason the coverage upload above
# uses it: a failed test step is the case this artefact exists for.
- name: Upload test results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: test-results-unit-tests
path: target/surefire-reports/
if-no-files-found: warn

tests:
name: Integration Tests (${{ matrix.name }})
needs: build
Expand Down Expand Up @@ -213,6 +228,21 @@ jobs:
path: target/jacoco.exec
if-no-files-found: warn

# Surefire's XML is only half the evidence. A fork that crashed or hit
# `forkedProcessTimeoutInSeconds` leaves a `.dump`, `.dumpstream` or `.txt` behind and
# often no XML at all, which is precisely the run whose evidence is worth keeping. The
# whole directory is therefore uploaded rather than a glob over `*.xml`.
#
# `!cancelled()` rather than `success()`, for the same reason the coverage upload above
# uses it: a failed test step is the case this artefact exists for.
- name: Upload test results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: test-results-${{ matrix.slug }}
path: target/surefire-reports/
if-no-files-found: warn

core-integration-tests:
name: Core Integration Tests
needs: build
Expand Down Expand Up @@ -247,6 +277,21 @@ jobs:
path: target/jacoco.exec
if-no-files-found: warn

# Surefire's XML is only half the evidence. A fork that crashed or hit
# `forkedProcessTimeoutInSeconds` leaves a `.dump`, `.dumpstream` or `.txt` behind and
# often no XML at all, which is precisely the run whose evidence is worth keeping. The
# whole directory is therefore uploaded rather than a glob over `*.xml`.
#
# `!cancelled()` rather than `success()`, for the same reason the coverage upload above
# uses it: a failed test step is the case this artefact exists for.
- name: Upload test results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: test-results-core-integration-tests
path: target/surefire-reports/
if-no-files-found: warn

# Each test job covers a disjoint slice of the suite, so no single one of them can be
# judged against the BUNDLE-level rule in pom.xml; only their merged execution data can.
#
Expand Down