Skip to content

Commit cef9769

Browse files
amend pipeline
1 parent d69f95e commit cef9769

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ jobs:
2929
run: dotnet build --configuration Release --no-restore src/ChristopherBriddock.SortingAlgorithms.sln -p:PackageVersion=${{ secrets.RELEASE_VERSION }}
3030

3131
- name: Test
32-
run: dotnet test --configuration Release --no-build src/ChristopherBriddock.SortingAlgorithms.Tests/ChristopherBriddock.SortingAlgorithms.Tests.csproj
32+
run: dotnet test --configuration Release --no-build src/ChristopherBriddock.SortingAlgorithms.Tests/ChristopherBriddock.SortingAlgorithms.Tests.csproj --logger trx --results-directory TestResults
33+
34+
- name: Upload Test Results
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: test-results
38+
path: TestResults/*.trx
39+
if-no-files-found: error
3340

3441
- name: Pack NuGet package
3542
run: dotnet pack --configuration Release --no-build src/ChristopherBriddock.SortingAlgorithms/ChristopherBriddock.SortingAlgorithms.csproj -p:PackageVersion=${{ secrets.RELEASE_VERSION }} -o out

0 commit comments

Comments
 (0)