-
Notifications
You must be signed in to change notification settings - Fork 40
CP-907 Coverage: check for lcov dependency, fail helpfully #53
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
Conversation
81624ad to
921cdb6
Compare
README.md
Outdated
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.
need code markup here:
brew update
brew install lcov
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.
'lcov' -> executable?
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.
This comment seems misplaced
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.
That was intentional. I want to eventually have the report generation go through here since it's interacting with an executable, and so that it can be mocked. But it will require more than a simple Future return type because I need to be able to listen to the stdout/stderr streams.
Current coverage is
|
|
+1, but looks like you need to change the min codecov coverage setting |
|
+1 |
|
@trentgrover-wf @maxwellpeterson-wf @dustinlessard-wf coverage thresholds lowered, all checks passing now. |
|
+1 |
|
+1, neat! |
|
+1 |
|
QA Resource Approval: +10
Merging into master. |
CP-907 Coverage: check for lcov dependency, fail helpfully
|
@Rosie run_merge_script |
Issue
#42 Generating an HTML report for coverage collection requires that "lcov" is installed. Currently, if that dependency is missing, the coverage task will fail with an non-helpful message when trying to generate the HTML report.
Changes
Source:
hasImmediateDependency,isExecutableInstalledisExecutableInstalledutil to determine if "lcov" is installedTests:
genhtmlcommandAreas of Regression
Testing
brew uninstall lcovddev coverage --htmlbrew uninstall lcovddev coverage --no-htmlbrew install lcovddev coverage --htmlCode Review
@trentgrover-wf
@maxwellpeterson-wf
@dustinlessard-wf
@jayudey-wf