diff --git a/.github/workflow-gen/Program.cs b/.github/workflow-gen/Program.cs index c48381f6..442342a1 100644 --- a/.github/workflow-gen/Program.cs +++ b/.github/workflow-gen/Program.cs @@ -207,7 +207,7 @@ public static void StepTestAndReport(this Job job, string componentName, string job.Step() .Name($"Test report - {testProject}") .Uses("dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5") // v1.9.1 - .If("github.event == 'push' && (success() || failure())") + .If("success() || failure()") .With( ("name", $"Test Report - {testProject}"), ("path", $"{componentName}/{path}/TestResults/{logFileName}"), diff --git a/.github/workflows/access-token-management-ci.yml b/.github/workflows/access-token-management-ci.yml index e83a0db4..4818c69e 100644 --- a/.github/workflows/access-token-management-ci.yml +++ b/.github/workflows/access-token-management-ci.yml @@ -45,7 +45,7 @@ jobs: - name: Test - AccessTokenManagement.Tests run: dotnet test -c Release test/AccessTokenManagement.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage" - name: Test report - AccessTokenManagement.Tests - if: github.event == 'push' && (success() || failure()) + if: success() || failure() uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 with: name: Test Report - AccessTokenManagement.Tests diff --git a/.github/workflows/identity-model-ci.yml b/.github/workflows/identity-model-ci.yml index 7051208c..2c0e37c6 100644 --- a/.github/workflows/identity-model-ci.yml +++ b/.github/workflows/identity-model-ci.yml @@ -45,7 +45,7 @@ jobs: - name: Test - IdentityModel.Tests run: dotnet test -c Release test/IdentityModel.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage" - name: Test report - IdentityModel.Tests - if: github.event == 'push' && (success() || failure()) + if: success() || failure() uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 with: name: Test Report - IdentityModel.Tests diff --git a/.github/workflows/identity-model-oidc-client-ci.yml b/.github/workflows/identity-model-oidc-client-ci.yml index 37df9b9e..865acc92 100644 --- a/.github/workflows/identity-model-oidc-client-ci.yml +++ b/.github/workflows/identity-model-oidc-client-ci.yml @@ -45,7 +45,7 @@ jobs: - name: Test - IdentityModel.OidcClient.Tests run: dotnet test -c Release test/IdentityModel.OidcClient.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage" - name: Test report - IdentityModel.OidcClient.Tests - if: github.event == 'push' && (success() || failure()) + if: success() || failure() uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 with: name: Test Report - IdentityModel.OidcClient.Tests diff --git a/.github/workflows/ignore-this-ci.yml b/.github/workflows/ignore-this-ci.yml index 34b5f0b0..5481089b 100644 --- a/.github/workflows/ignore-this-ci.yml +++ b/.github/workflows/ignore-this-ci.yml @@ -45,7 +45,7 @@ jobs: - name: Test - IgnoreThis.Tests run: dotnet test -c Release test/IgnoreThis.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage" - name: Test report - IgnoreThis.Tests - if: github.event == 'push' && (success() || failure()) + if: success() || failure() uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 with: name: Test Report - IgnoreThis.Tests