Skip to content

Commit

Permalink
Upload .NET test results
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanderidder committed Oct 19, 2024
1 parent e92f98b commit 37ac97c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ jobs:
category: "/language:${{matrix.language}}"

- name: Test
run: dotnet test --no-build --verbosity normal --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
run: dotnet test --no-build --verbosity normal --logger trx --results-directory "TestResults"

- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: dotnet-results-${{ matrix.dotnet-version }}
path: TestResults-${{ matrix.dotnet-version }}
name: dotnet-results
path: TestResults
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

0 comments on commit 37ac97c

Please sign in to comment.