Skip to content

Commit

Permalink
Test reports and checks for net
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertuya committed Jul 4, 2023
1 parent 9768348 commit da1b3fc
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,17 @@ jobs:
run: dotnet test --logger "trx;LogFileName=../../reports/tdrules-report.trx" TdRulesTest/TdRulesTest.csproj

- name: Junit html report
if: always()
uses: javiertuya/junit-report-action@netreport
with:
net-trx-report: "net/reports/tdrules-report.trx"
net-surefire-folder: "net/target/surefire-reports"
surefire-files: "net/target/surefire-reports/TEST-*.xml"
report-dir: net/target/site
report-title: "Test Report, Net, branch: ${{ github.ref_name }}"

- if: always()
name: Publish test report files
- name: Publish test report files
if: always()
uses: actions/upload-artifact@v3
with:
name: "test-report-files-Net"
Expand All @@ -162,6 +164,14 @@ jobs:
net/target/surefire-reports
net/reports/tdrules-report.trx
- name: Generate report checks
if: always()
uses: mikepenz/action-junit-report@v3.7.8
with:
check_name: "test-result-Net"
report_paths: "net/surefire-reports/TEST-*.xml"
fail_on_failure: 'true'

sonarqube:
needs: [test-java, test-net]
#if: ${{ false }} # disable for now
Expand Down

0 comments on commit da1b3fc

Please sign in to comment.