Skip to content

Commit

Permalink
Rewrite CodeCoverage.cmake (#2)
Browse files Browse the repository at this point in the history
* Rewrite CodeCoverage.cmake to support all gcovr formats
* Restore CodeCoverage.cmake history from https://github.com/bilke/cmake-modules/blob/master/CodeCoverage.cmake
* Add .clangd and .devcontainer/ to .gitignore
* Set default coverage report format html-details
* Fix codecov badge
  • Loading branch information
Bronek authored Jan 3, 2024
1 parent 7491d54 commit 2c21d98
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 140 deletions.
1 change: 1 addition & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCODE_COVERAGE=True \
-DCODE_COVERAGE_REPORT_FORMAT=xml \
..
- name: build all targets
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea/
.idea_modules/
.build*/
.clangd
.devcontainer/
*.iws
*.swp
*.swo
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Market book representation

[![codecov](https://codecov.io/gh/Bronek/codecov-demo/graph/badge.svg?token=7AJeEkFllI)](https://codecov.io/gh/Bronek/codecov-demo)
[![codecov](https://codecov.io/gh/Bronek/market/graph/badge.svg?token=WyFr5ajq3O)](https://codecov.io/gh/Bronek/market)

Hi, thank you for looking at my project. Sadly the documentation is missing but that's OK since nobody is going to use it anyway.

Expand Down
Loading

0 comments on commit 2c21d98

Please sign in to comment.