Skip to content

Commit

Permalink
Standard, matrix, and comparison HTML reports are available as artifa…
Browse files Browse the repository at this point in the history
…cts.
  • Loading branch information
TeamSPoon committed Aug 14, 2024
1 parent aed4870 commit 76d8545
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,16 @@ jobs:
name: junit-report
path: previous-junit.xml # Save as previous-junit.xml

- name: Install ReportGenerator
run: |
dotnet tool install -g dotnet-reportgenerator-globaltool
- name: Compare JUnit Test Results with ReportGenerator
uses: danielpalme/[email protected]
with:
reports: 'previous-junit.xml;junit.xml'
targetdir: './comparison-report'
reporttypes: 'HtmlSummary;HtmlChart'
run: |
reportgenerator \
-reports:"previous-junit.xml;junit.xml" \
-targetdir:"./comparison-report" \
-reporttypes:"HtmlSummary;HtmlChart"
- name: Upload JUnit Comparison Report
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 76d8545

Please sign in to comment.