Skip to content

Commit

Permalink
Merge pull request #38 from iic-jku/dependabot/github_actions/codecov…
Browse files Browse the repository at this point in the history
…/codecov-action-2.1.0
  • Loading branch information
dependabot[bot] authored Jan 6, 2022
2 parents 57e3e3b + 88552e7 commit 49f5923
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,18 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Configure CMake
run: cmake -S "${{github.workspace}}" -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON -DBUILD_QFR_TESTS=ON
- name: Build
run: cmake --build "${{github.workspace}}/build" --config Debug --target qfr_test
- name: Test
- name: Configure CMake
run: cmake -S "${{github.workspace}}" -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON -DBUILD_QFR_TESTS=ON
- name: Build
run: cmake --build "${{github.workspace}}/build" --config Debug --target qfr_test
- name: Test
working-directory: ${{github.workspace}}/build/test
run: ctest -C Debug --output-on-failure
run: ctest -C Debug --output-on-failure
- name: Run gcov
run: |
find . -type f -name '*.gcno' -exec gcov -p {} +
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2.1.0
with:
fail_ci_if_error: true

Expand Down

0 comments on commit 49f5923

Please sign in to comment.