diff --git a/.github/workflows/unitTest.yml b/.github/workflows/unitTest.yml index b2d53b0..2c1bb4d 100644 --- a/.github/workflows/unitTest.yml +++ b/.github/workflows/unitTest.yml @@ -14,4 +14,12 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 8.x - - run: dotnet test ./katas/katas.sample.test\ \ No newline at end of file + - run: dotnet test ./katas/katas.sample.test --logger "trx,LogFileName=katas-sample-test-result.trx" + - name: Test report + uses: dorny/test-reporter@v1 + if: always() # run this step even if previous step failed + with: + name: Kata Tests # Name of the check run which will be created + path: "**/katas-sample-test-result.trx" # Path to test results + reporter: dotnet-trx + fail-on-error: true \ No newline at end of file