Skip to content

Commit 1773b7f

Browse files
committed
While we're at it, display the coverage stats for the unit tests
1 parent c72048a commit 1773b7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/cibuild

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ if [ "$RSPEC_TEST" = "true" ]; then
100100

101101
# Run the tests
102102
echo "Running rspec unit tests"
103+
export COVERAGE=true
103104
time bundle exec rspec "${DIR}/spec/octocatalog-diff/tests"
104105
exitcode=$?
106+
unset COVERAGE
105107
if [ "$exitcode" -ne 0 ]; then RSPEC_EXITCODE="$exitcode"; fi
106108
cat "$OUTPUT_FILE"
107109
echo ""

0 commit comments

Comments
 (0)