diff --git a/.github/workflows/build-pipeline.yml b/.github/workflows/build-pipeline.yml index 115c97a..738a871 100644 --- a/.github/workflows/build-pipeline.yml +++ b/.github/workflows/build-pipeline.yml @@ -38,7 +38,15 @@ jobs: - name: 'Run tests' run: | cd '${{ github.workspace }}/MewtocolTests' - dotnet test --logger:"console;verbosity=detailed" + dotnet test --logger "trx;logfilename=testresults.trx" + #Generate a test report + - name: 'Test Report' + uses: dorny/test-reporter@v1 + if: success() || failure() # run this step even if previous step failed + with: + name: XUnit Tests # Name of the check run which will be created + path: TestResults/testresults.xml # Path to test results + reporter: dotnet-trx # Format of test results #Run code ql check code-ql-check: @@ -90,4 +98,4 @@ jobs: # NUGET_SOURCE: https://api.nuget.org # Flag to toggle pushing symbols along with nuget package to the server, disabled by default - # INCLUDE_SYMBOLS: false \ No newline at end of file + # INCLUDE_SYMBOLS: false