-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standard, matrix, and comparison HTML reports are available as artifa…
…cts.
- Loading branch information
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,26 +72,25 @@ jobs: | |
reporter: 'java-junit' # Correct reporter type for JUnit XML | ||
fail-on-error: false # Do not fail the job if tests fail | ||
|
||
- name: Compare JUnit Test Results with mikepenz | ||
uses: mikepenz/action-junit-report@v3 | ||
- name: Download Previous JUnit Results | ||
uses: actions/download-artifact@v3 | ||
with: | ||
report_paths: junit.xml | ||
compare_to_previous: true | ||
fail_on_failure: false # Do not fail the job if tests fail | ||
name: junit-report | ||
path: previous-junit.xml # Save as previous-junit.xml | ||
|
||
- name: Diff JUnit Test Results | ||
uses: Juit/[email protected] | ||
- name: Compare JUnit Test Results with ReportGenerator | ||
uses: danielpalme/[email protected] | ||
with: | ||
base-junit: junit-report/base.xml # Adjust to your previous report location | ||
head-junit: junit.xml # The current test report | ||
output: junit-diff-report.html | ||
reports: 'previous-junit.xml;junit.xml' | ||
targetdir: './comparison-report' | ||
reporttypes: 'HtmlSummary;HtmlChart' | ||
|
||
- name: Upload JUnit Diff Report | ||
- name: Upload JUnit Comparison Report | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: junit-diff-html-report | ||
path: junit-diff-report.html | ||
name: junit-comparison-html-report | ||
path: ./comparison-report | ||
|
||
- name: Display HTML Report Information | ||
run: | | ||
echo "Standard, matrix, and diff HTML reports are available as artifacts. JUnit test comparison reports are also available." | ||
echo "Standard, matrix, and comparison HTML reports are available as artifacts." |