Add new workflow to upload a test report from the build workflow's results.
Sean Hall committed
Jun 16, 2022 at 14:43 UTC
a6dcebc29a97b9a0e20ff78c138f3afc88ae7b0c
1 file changed
+22
.github/workflows/test-report.yml
new
+22
@@ -0,0 +1,22 @@
1
+name: Build WiX Toolset v4 Test Report
2
+
3
+on:
4
+ workflow_run:
5
+ workflows: [ 'Build WiX Toolset v4' ]
6
+ types: [ completed ]
7
+ branches-ignore:
8
+ - master
9
+permissions:
10
+ actions: read
11
+ checks: write
12
+jobs:
13
+ report:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Generate Test Reports
17
+ uses: dorny/test-reporter@v1
18
+ with:
19
+ artifact: logs_${{ github.event.workflow_run.id }}
20
+ name: Xunit Tests
21
+ path: 'TestResults/*.trx'
22
+ reporter: dotnet-trx
\ No newline at end of file