-
Notifications
You must be signed in to change notification settings - Fork 458
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
Add automated code coverage measurement and reporting #836
Conversation
These won't have code coverage because 1 is just a compiling test - no code execution 2 are compiled in release mode and code coverage doesn't work very well when code optimizations are enabled
Codecov Report
@@ Coverage Diff @@
## dev #836 +/- ##
======================================
Coverage ? 11.23%
======================================
Files ? 207
Lines ? 308246
Branches ? 176935
======================================
Hits ? 34634
Misses ? 229910
Partials ? 43702
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
# Conflicts: # .github/workflows/automated-dev-tests.yml
Feature or improvement description
This pull request adds automated code coverage measurement via
gcov
and reporting withgcovr
to Codecov.io. The regression test and unit test coverages are tracked individually. Due to compiler optimizations that transform the source code, the test cases measured in this code coverage reporting must be compiled in debug mode. Therefore, we do not include the OpenFAST glue-code regression tests in this reporting. The unit tests, module regression tests, and C++ API regression tests are included.A live version of the code coverage dashboard can be seen at https://app.codecov.io/gh/rafmudaf/openfast/. This is the dashboard for my fork of OpenFAST, but a new one will automatically be created when the openfast/openfast repository sends its first coverage report to Codecov.io.
Related issue, if one exists
None
Impacted areas of the software
Automated tests
TODO