Skip to content

Commit 6a0944a

Browse files
committed
Handling results from different OSes
1 parent 5cc7b2e commit 6a0944a

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.github/workflows/ci-test-reporting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: phoenix-actions/test-reporting@v15
1919
id: test-report
2020
with:
21-
name: ".NET Test report"
22-
path: "*.trx"
21+
name: ".NET Test report $1"
22+
path: "**/*.trx"
2323
reporter: dotnet-trx
24-
artifact: test-results
24+
artifact: /test-results-(.*)/

.github/workflows/dotnet-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
uses: actions/upload-artifact@v4
9696
if: always()
9797
with:
98-
name: test-results
98+
name: test-results-${{ matrix.os }}
9999
path: |
100100
${{ github.workspace }}/test-results/**
101101

.github/workflows/dotnet-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
uses: actions/upload-artifact@v4
9696
if: always()
9797
with:
98-
name: test-results
98+
name: test-results-${{ matrix.os }}
9999
path: |
100100
${{ github.workspace }}/test-results/**
101101

.github/workflows/dotnet-release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ jobs:
1313
build:
1414
strategy:
1515
matrix:
16-
os: [windows-latest, ubuntu-latest, macos-latest]
16+
os: [
17+
windows-latest
18+
, ubuntu-latest
19+
#, macos-latest
20+
]
21+
1722
runs-on: "${{ matrix.os }}"
1823
env:
1924
DOTNET_CONFIGURATION: Release
@@ -90,7 +95,7 @@ jobs:
9095
uses: actions/upload-artifact@v4
9196
if: always()
9297
with:
93-
name: test-results
98+
name: test-results-${{ matrix.os }}
9499
path: |
95100
${{ github.workspace }}/test-results/**
96101

0 commit comments

Comments
 (0)