chore(deps): update peter-evans/create-pull-request action to v7.0.11 #259
This file contains hidden or 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
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| prepare: | |
| name: Prepare list of configurations | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| outputs: | |
| scripts: ${{ steps.set-matrix.outputs.scripts }} | |
| steps: | |
| - name: Check out the source code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Set matrix | |
| id: set-matrix | |
| run: echo scripts="$(for i in ci/*.ctest.cmake; do echo '"'$(basename $i .ctest.cmake)'"'; done | jq --slurp -c)" >> "${GITHUB_OUTPUT}" | |
| test: | |
| needs: prepare | |
| name: Test (${{ matrix.script }}) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| script: ${{ fromJson(needs.prepare.outputs.scripts) }} | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Install dependencies | |
| uses: ./.github/actions/install-dependencies | |
| - name: Run tests | |
| run: ctest -V -S "ci/${{ matrix.script }}.ctest.cmake" |