diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42e98155..f06b799f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,7 @@ env: permissions: id-token: write contents: read + checks: write jobs: build: runs-on: windows-latest @@ -34,6 +35,13 @@ jobs: - name: Build and Test run: ./Build.ps1 shell: pwsh + - name: Report Test Results + uses: dorny/test-reporter@v1.9.1 + if: success() || failure() + with: + name: Test Results (Windows) + path: '**/TestResults/**/*.trx' + reporter: dotnet-trx - name: Get package version id: version shell: pwsh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c4fde59..de17a774 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ env: permissions: id-token: write contents: read + checks: write jobs: build: strategy: @@ -42,6 +43,13 @@ jobs: - name: Build and Test run: ./Build.ps1 shell: pwsh + - name: Report Test Results + uses: dorny/test-reporter@v1.9.1 + if: always() + with: + name: Test Results (Windows) + path: '**/TestResults/**/*.trx' + reporter: dotnet-trx - name: Get package version id: version shell: pwsh