Skip to content

Commit 8da547c

Browse files
authored
Merge pull request #1106 from grondo/ci-coverage-fix
ci: fix coverage build
2 parents 310cc2d + 5aa8ef6 commit 8da547c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/checks_run.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ if test "$COVERAGE" = "t"; then
118118

119119
ARGS="$ARGS --enable-code-coverage"
120120
CHECKCMDS="\
121-
ENABLE_USER_SITE=1 \
122-
COVERAGE_PROCESS_START=$(pwd)/coverage.rc \
121+
export ENABLE_USER_SITE=1 && \
122+
export COVERAGE_PROCESS_START=$(pwd)/coverage.rc && \
123123
${MAKE} -j $JOBS check-code-coverage && \
124124
lcov -l flux*-coverage.info && \
125125
coverage combine .coverage* && \
126-
coverage html && coverage xml &&
127-
chmod 444 coverage.xml &&
128-
coverage report"
126+
(coverage xml || :) &&
127+
(chmod 444 coverage.xml || :) &&
128+
(coverage report || :)"
129129

130130
# Use make install for T_INSTALL:
131131
elif test "$TEST_INSTALL" = "t"; then

0 commit comments

Comments
 (0)