-
Notifications
You must be signed in to change notification settings - Fork 500
[TEST] test examples in CI with CMake Part 1 #3449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
marcalff
merged 9 commits into
open-telemetry:main
from
dbarker:test_examples_with_install
Jun 5, 2025
Merged
[TEST] test examples in CI with CMake Part 1 #3449
marcalff
merged 9 commits into
open-telemetry:main
from
dbarker:test_examples_with_install
Jun 5, 2025
Conversation
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
✅ Deploy Preview for opentelemetry-cpp-api-docs canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3449 +/- ##
==========================================
+ Coverage 89.89% 89.92% +0.03%
==========================================
Files 212 219 +7
Lines 6942 7041 +99
==========================================
+ Hits 6240 6331 +91
- Misses 702 710 +8 🚀 New features to boost your workflow:
|
…ng api link to dll target
…l is set before running tests. Fix warning in grpc example server.cc
marcalff
approved these changes
Jun 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
malkia
added a commit
to malkia/opentelemetry-cpp
that referenced
this pull request
Jun 5, 2025
[TEST] test examples in CI with CMake Part 1 (open-telemetry#3449)
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.
Contributes to #454
Adds initial CI testing of examples to address #454
Part 1 focuses on adding a basic tests to:
WITH_EXAMPLES
andBUILD_TESTING
CMake options are ON.The multi-process examples are not run and can be addressed in a future PR.
Changes
grpc_metric_main.cc
examplesimple*
examples in CI by thecmake.dll.*
tests which will now run all new examples tests with ctest.For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes