Skip to content

Commit 0db4c57

Browse files
committed
Update test result paths in CI workflow
Adjusts the dotnet test command to output .trx files to the default TestResults directory and updates the artifact upload step to match the new path and file pattern. Ensures test results are correctly collected and published in CI.
1 parent b703f49 commit 0db4c57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ jobs:
5959

6060
# Run tests
6161
- name: Test solution
62-
run: dotnet test --no-build -c ${{matrix.configuration}} -l "trx;LogFileName=VSTestResults.trx"
62+
run: dotnet test --no-build -c ${{matrix.configuration}} -l "trx;"
6363

6464
# Publish test results
6565
- name: Publish test results
6666
uses: actions/upload-artifact@v5
6767
with:
68-
name: '**/TestResults/VSTestResults.trx'
69-
path: VSTestResults
68+
name: '**/TestResults/*.trx'
69+
path: TestResults
7070
if-no-files-found: error
7171

7272
# Pack solution

0 commit comments

Comments
 (0)