-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (40 loc) · 1.14 KB
/
test-report.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: 'Test Report'
on:
workflow_run:
workflows:
- Build
types:
- completed
permissions:
contents: read
actions: read
checks: write
jobs:
report:
runs-on: ubuntu-latest
strategy:
matrix:
framework: ["net6.0", "net8.0"]
disable: ["HWIntrinsics", "SSSE3", "BMI2", "Noop"]
steps:
- uses: dorny/test-reporter@v1
with:
artifact: test-results-${{ matrix.framework }}-${{ matrix.disable }}
name: Unit Tests ${{ matrix.framework }} ${{ matrix.disable }}
path: '**/results.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx
report-windows:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
with:
artifact: test-results-windows-x64
name: Unit Tests Windows x64
path: '**/results-x64.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx
- uses: dorny/test-reporter@v1
with:
artifact: test-results-windows-x86
name: Unit Tests Windows x86
path: '**/results-x86.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx