Merge pull request #254 from bbbgan/fix_parse_number #368
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: Upload CodeCov Report | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out | |
uses: actions/checkout@v3 | |
- name: Configure cmake | |
run: cmake -B${{github.workspace}}/build -DCOVERAGE_TEST=ON -DCMAKE_BUILD_TYPE=Debug | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config Debug | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
env: | |
CTEST_OUTPUT_ON_FAILURE: 1 | |
run: ctest -C ${{ matrix.configuration }} -j 1 -V | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 |