Use the current block size, not the next block size for #128
Workflow file for this run
This file contains 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@v2 | |
- 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) | |