diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-06-16 14:43:07 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-06-16 16:49:13 -0500 |
commit | a6dcebc29a97b9a0e20ff78c138f3afc88ae7b0c (patch) | |
tree | 1a97abf4c28bbc4eef3881d99addf426deb65e5d | |
parent | 4d94ed9fd1d9cb69337134561c520a24a91b91b2 (diff) | |
download | wix-a6dcebc29a97b9a0e20ff78c138f3afc88ae7b0c.tar.gz wix-a6dcebc29a97b9a0e20ff78c138f3afc88ae7b0c.tar.bz2 wix-a6dcebc29a97b9a0e20ff78c138f3afc88ae7b0c.zip |
Add new workflow to upload a test report from the build workflow's results.
-rw-r--r-- | .github/workflows/test-report.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/test-report.yml b/.github/workflows/test-report.yml new file mode 100644 index 00000000..62ebbfe2 --- /dev/null +++ b/.github/workflows/test-report.yml | |||
@@ -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 | ||