Skip to content

Commit

Permalink
fixed coverage with empty source
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 1, 2023
1 parent 7fc31af commit c071ca7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/publish_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ ARGS=""

for file in `ls $ARTIFACT_FOLDER | grep ".info"`; do

ARGS="${ARGS} -a ${ARTIFACT_FOLDER}/${file}"
if [ -s ${ARTIFACT_FOLDER}/${file} ]; then
ARGS="${ARGS} -a ${ARTIFACT_FOLDER}/${file}"
fi

done

Expand Down

0 comments on commit c071ca7

Please sign in to comment.