Our PR jobs now call into templates and use a matrix strategy for all
tested configurations.

GitHub Actions branch protections do not let you set "all jobs are
required" nor even "all matrix permutations of this one job" are
required.

You literally have to set every individual permutation as required
manually, which makes it hard to maintain.

This PR adds a final "Successful PR Check" job that is dependent on all
the others, that can be the *one* set to required.
This commit is contained in:
Jon Thysell 2023-03-07 17:27:08 -08:00 коммит произвёл GitHub
Родитель 531347d8d9
Коммит bd0ac5c446
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 7 добавлений и 0 удалений

7
.github/workflows/pr.yml поставляемый
Просмотреть файл

@ -84,3 +84,10 @@ jobs:
vmImage: windows-2022
configuration: ${{ matrix.configuration }}
platform: ${{ matrix.platform }}
prcheck:
name: Successful PR Check
runs-on: ubuntu-latest
needs: [setupcheck, call-runcodegen, call-testcli, call-testcli-old, call-buildnpmpackage, call-buildrnx]
steps:
- uses: actions/checkout@v3