-
Notifications
You must be signed in to change notification settings - Fork 52
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 'skip-tests' option #685
Conversation
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #685 +/- ##
==========================================
- Coverage 50.00% 48.55% -1.45%
==========================================
Files 2 2
Lines 238 243 +5
Branches 52 53 +1
==========================================
- Hits 119 118 -1
- Misses 119 125 +6
Continue to review full report at Codecov.
|
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
51a340c
to
efe07dd
Compare
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 - but it might be nice to refactor a bit for readability
...options, | ||
ignoreReturnCode: true, | ||
}); | ||
if (!skipTests) { |
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 change is fine - but a nitpick: the indentation of this entire block suggests that it could be a separate function.
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.
done in eacf631
Other stuff should probably be split out at some point too.
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Closes #684
This adds a
skip-tests
option. When set totrue
, it skips tests and coverage data processing.When the option is enabled, the action prints "Skipping tests" right after
colcon build
.Signed-off-by: Christophe Bedard bedard.christophe@gmail.com