|
31 | 31 | default: false |
32 | 32 |
|
33 | 33 | dotnet_test_options_verbosity_level: |
| 34 | + # cSpell:disable-next-line |
34 | 35 | description: "The argument to be set to the `--verbosity <LEVEL>` option of the `dotnet test` command. <LEVEL> := q[uiet], m[inimal], n[ormal], d[etailed], diag[nostic]" |
35 | 36 | required: false |
36 | 37 | type: string |
|
46 | 47 | type: string |
47 | 48 |
|
48 | 49 | jobs: |
| 50 | + await-package-publishing: |
| 51 | + name: Wait for publishing of released package |
| 52 | + if: ${{ github.event_name == 'release' }} |
| 53 | + uses: smdn/Smdn.Fundamentals/.github/workflows/nuget-await-package-publishing.yml@workflows/nuget/v1.0.0 |
| 54 | + with: |
| 55 | + release_tag: ${{ github.event.release.tag_name }} |
| 56 | + |
49 | 57 | run-test: |
50 | 58 | name: Run tests with released packages |
51 | | - uses: smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test/v1.4.2 |
| 59 | + uses: smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test/v1.5.0 |
| 60 | + needs: await-package-publishing |
| 61 | + if: ${{ always() && !failure() && !cancelled() }} # run tests even if await-package-publishing is skipped |
52 | 62 | with: |
53 | 63 | project: ${{ inputs.project }} |
54 | 64 | os: ${{ inputs.os == '' && 'ubuntu-24.04, ubuntu-22.04, windows-latest, macos-latest' || inputs.os }} |
55 | 65 | extra_options_common: '/p:TestReleasedPackage=true' |
56 | 66 | verbose: ${{ inputs.verbose == 'true' }} |
57 | | - path_proj_install_project_assets: "eng/InstallProjectAssets.proj" |
58 | 67 | dotnet_sdk_version: ${{ inputs.dotnet_sdk_version == '' && '8.0.100' || inputs.dotnet_sdk_version }} |
59 | 68 | timeout_minutes_test_job: 10 |
60 | 69 | timeout_hang: "[ {'OS':'windows','Timeout':'6min'}, {'OS':'macos','Timeout':'3min'}, {'OS':'','Timeout':'1min'} ]" |
|
0 commit comments