-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build - generate test reports in a separate step
- Loading branch information
1 parent
6df6098
commit 2b0e834
Showing
8 changed files
with
188 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# This was generated by tool. Edits will be overwritten. | ||
|
||
name: generate-test-reports | ||
on: | ||
workflow_run: | ||
workflows: | ||
- 'ignore-this/ci' | ||
- 'access-token-management/ci' | ||
- 'identity-model/ci' | ||
- 'identity-model-oidc-client/ci' | ||
types: | ||
- completed | ||
jobs: | ||
report: | ||
name: report | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
checks: write | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Test report - ignore-this - IgnoreThis.Tests | ||
if: github.event.workflow_run.workflow == 'ignore-this/ci' | ||
uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 | ||
with: | ||
artifact: test-results | ||
name: Test Report - IgnoreThis.Tests | ||
path: ignore-this/test/IgnoreThis.Tests/TestResults/Tests.trx | ||
reporter: dotnet-trx | ||
fail-on-error: true | ||
fail-on-empty: true | ||
- name: Test report - access-token-management - AccessTokenManagement.Tests | ||
if: github.event.workflow_run.workflow == 'access-token-management/ci' | ||
uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 | ||
with: | ||
artifact: test-results | ||
name: Test Report - AccessTokenManagement.Tests | ||
path: access-token-management/test/AccessTokenManagement.Tests/TestResults/Tests.trx | ||
reporter: dotnet-trx | ||
fail-on-error: true | ||
fail-on-empty: true | ||
- name: Test report - identity-model - IdentityModel.Tests | ||
if: github.event.workflow_run.workflow == 'identity-model/ci' | ||
uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 | ||
with: | ||
artifact: test-results | ||
name: Test Report - IdentityModel.Tests | ||
path: identity-model/test/IdentityModel.Tests/TestResults/Tests.trx | ||
reporter: dotnet-trx | ||
fail-on-error: true | ||
fail-on-empty: true | ||
- name: Test report - identity-model-oidc-client - IdentityModel.OidcClient.Tests | ||
if: github.event.workflow_run.workflow == 'identity-model-oidc-client/ci' | ||
uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 | ||
with: | ||
artifact: test-results | ||
name: Test Report - IdentityModel.OidcClient.Tests | ||
path: identity-model-oidc-client/test/IdentityModel.OidcClient.Tests/TestResults/Tests.trx | ||
reporter: dotnet-trx | ||
fail-on-error: true | ||
fail-on-empty: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...ent/test/AccessTokenManagement.Tests/AccessTokenManagement.Tests.net8.0.v3.ncrunchproject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<ProjectConfiguration> | ||
<Settings /> | ||
</ProjectConfiguration> |
3 changes: 3 additions & 0 deletions
3
...ent/test/AccessTokenManagement.Tests/AccessTokenManagement.Tests.net9.0.v3.ncrunchproject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<ProjectConfiguration> | ||
<Settings /> | ||
</ProjectConfiguration> |