-
Notifications
You must be signed in to change notification settings - Fork 33
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
Combine build file of adolc and tests; Add code coverage #79
Merged
Conversation
This file contains 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
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Oh there seems to be a code_cov token already. Nice! Once this is merged we will find the coverage report here: https://app.codecov.io/github/coin-or/ADOL-C. |
TimSiebert1
force-pushed
the
update_build_test
branch
from
November 19, 2024 06:18
54d8de5
to
f77ae73
Compare
TimSiebert1
force-pushed
the
update_build_test
branch
from
November 19, 2024 06:27
f77ae73
to
02984c8
Compare
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.
Hi,
this PR includes:
an updated
CMakelists.txt
that includes a newCMAKE_BUILD_TYPE
calledTests
andTestsWithCov
. IfTests
is specified cmake builds theboost-test-adolc
(in build dir) without the need of specifying the adolc paths. In addition enables the use ofctest
. IfTestsWithCov
is specified,adolc
andboost-test-adolc
are compiled with coverage related flags. These flags are required in a corresponding coverage workflowan adapted workflow
tests.yml
which now leveragesctest
a workflow
coverage.yml
for generating a coverage report withlcov
andcodecov
. This is mainly useful if we could add a github-secret for this repository. @awalther1 should be able to do it. If the token is set, the coverage report is posted on a page that would look like this: https://app.codecov.io/gh/TimSiebert1/ADOL-C.I will update the
README.md
files for building the test once everything is working well