Add code coverage using codecov.io#121
Merged
reyang merged 27 commits intoopen-telemetry:masterfrom Jun 19, 2020
Brandon-Kimberly:master
Merged
Add code coverage using codecov.io#121reyang merged 27 commits intoopen-telemetry:masterfrom Brandon-Kimberly:master
reyang merged 27 commits intoopen-telemetry:masterfrom
Brandon-Kimberly:master
Conversation
Codecov Report
@@ Coverage Diff @@
## master #121 +/- ##
=========================================
Coverage ? 93.60%
=========================================
Files ? 66
Lines ? 1564
Branches ? 0
=========================================
Hits ? 1464
Misses ? 100
Partials ? 0 |
reyang
reviewed
Jun 18, 2020
Co-authored-by: Reiley Yang <reyang@microsoft.com>
GerHobbelt
pushed a commit
to GerHobbelt/opentelemetry-cpp
that referenced
this pull request
Jun 17, 2025
[TEST] Change `is_called_` and `got_response_` to use atomic (open-telemetry#3204)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is my cut at integrating code coverage with the OpenTelemetry C++ API/SDK repository using codecov.io.
Code coverage tools incentivize developers to write tests and increase coverage. Codecov.io adds additional functionality such as easy-to-use coverage visualizations, PR coverage comment bots, and commit status badges.
I added a new job to the GitHub Actions CI file that runs on every commit and PR against the master branch titled codecov_upload. This job executes a new branch I added to the do_ci.sh file, titled code.coverage. This branch builds the project using CMake, runs CMake tests, generates a coverage report using lcov, then uploads that report to codecov.io.
I used the default YAML config file (.github/.codecov.yaml) with two adjustments.
Current coverage data for the repository can be found here. Please check it out and let me know if all of the correct files are included.