Size suffixes cannot have a space (#192) #166
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: Code Coverage | |
| on: [push, pull_request] | |
| jobs: | |
| code_coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Create Build Environment | |
| run: cmake -E make_directory build | |
| - name: Configure | |
| working-directory: build/ | |
| run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="--coverage" -DCMAKE_EXE_LINKER_FLAGS="--coverage" | |
| - name: Build | |
| working-directory: build/ | |
| run: cmake --build . --config Debug | |
| - name: Test | |
| working-directory: build/ | |
| run: ctest -C Debug --output-on-failure | |
| - name: Collect code coverage | |
| working-directory: build/ | |
| run: bash <(curl -s https://codecov.io/bash) | |