Replace global assert hook with static class member #3266
Workflow file for this run
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: CMake Test | |
| # Controls when the action will run. Triggers the workflow on push or pull request | |
| # events but only for the master branch | |
| on: | |
| push: | |
| branches: [ devel, release/** ] | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| branches: [ devel, release/** ] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**.md' | |
| - '.github/actions/spelling/**' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| # Cancel in-progress runs if a newer run is started on a given PR | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| CMake: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: "Checkout F´ Repository" | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: true | |
| - uses: ./.github/actions/setup | |
| - name: CMake Tests | |
| working-directory: ./cmake/test | |
| shell: bash | |
| run: | | |
| export CMAKE_INSTALL_DIRECTORY="${GITHUB_WORKSPACE}/tools-override" | |
| export PATH="${CMAKE_INSTALL_DIRECTORY}/bin:${PATH}" | |
| cmake --version | |
| pytest -s |