Skip to content

Commit a57b91d

Browse files
Bump codecov/codecov-action from 1 to 2.1.0 (#37)
* Bump codecov/codecov-action from 1 to 2.1.0 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.1.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md) - [Commits](codecov/codecov-action@v1...v2.1.0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update cmake.yml Thanks to @burgholzer for the help! Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stefan Hillmich <hillmich@users.noreply.github.com>
1 parent db7044d commit a57b91d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ jobs:
9191
- name: Configure CMake
9292
run: cmake -S "${{github.workspace}}" -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=1 -DBUILD_DDSIM_TESTS=ON -DBINDINGS=ON
9393
- name: Build
94-
run: cmake --build "${{github.workspace}}/build" --config Debug
94+
run: cmake --build "${{github.workspace}}/build" --config Debug --target ddsim_test
9595
- name: Test
9696
working-directory: ${{github.workspace}}/build/test
9797
run: ctest -C Debug --output-on-failure
98+
- name: Run gcov
99+
run: find . -type f -name '*.gcno' -exec gcov -p {} +
98100
- name: Upload coverage to Codecov
99-
uses: codecov/codecov-action@v1
101+
uses: codecov/codecov-action@v2.1.0
100102
with:
101103
token: ${{ secrets.CODECOV_TOKEN }}
102104
fail_ci_if_error: true

0 commit comments

Comments
 (0)