-
Notifications
You must be signed in to change notification settings - Fork 162
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
Check manual examples for all chapters even if one fails #1183
Check manual examples for all chapters even if one fails #1183
Conversation
At the moment, PR #1135 is good to check this after it will be merged. |
Codecov Report
@@ Coverage Diff @@
## master #1183 +/- ##
=======================================
Coverage 68.4% 68.4%
=======================================
Files 435 435
Lines 230677 230677
=======================================
Hits 157797 157797
Misses 72880 72880 Continue to review full report at Codecov.
|
26d9cdf
to
e98c30e
Compare
This PR has been tested with some artificial failures (two broken examples in two chapters) and in this case it worked as intended. It should be ready to merge as soon as the current CI tests will finish. |
Puzzling where the -0.02% reduction of coverage comes from... |
etc/ci.sh
Outdated
TestManualChapter("$ch"); | ||
QUIT_GAP(0); | ||
GAPInput | ||
TestManualChapter $ch |
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.
A simpler way to implement this (which possibly avoids the need of creating TestManualChapter
), using the ||
operator:
bin/gap.sh -q -L testmanuals.wsp --cover $COVDIR/$(basename $ch).coverage <<GAPInput || TESTMANUALSPASS=no
...
Or of course also
echo "TestManualChapter(\"$1\"); QUIT_GAP(0);" | bin/gap.sh ... || TESTMANUALSPASS=no
e98c30e
to
e3b190b
Compare
e3b190b
to
8cd17b5
Compare
@fingolfin Thanks for the tip - I've updated the PR and run CI tests twice - with and without errors. This is ready for merge now. Also, now it shows zero coverage changes, as expected. |
Closes #1138