Skip to content

Commit

Permalink
[TMP] forced coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed May 9, 2024
1 parent cebc98f commit 03e0459
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .ci/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,4 @@ source "${CI_DIR}/common.sh"

set +e

if [ -z "${CIRCLE_PULL_REQUEST}" ] && [ "${CIRCLE_BRANCH}" = 'master' ]; then
echo "CIRCLE_NODE_INDEX: ${CIRCLE_NODE_INDEX}"
if [ "${CIRCLE_NODE_INDEX}" = 1 ]; then
echo -e "\\n${ANSI_GREEN}Running make testfront for timings."
make testfront BUSTED_OVERRIDES="--output=junit -Xoutput junit-test-results.xml"
fi

if [ "${CIRCLE_NODE_INDEX}" = 0 ]; then
travis_retry make coverage
pushd koreader-*/koreader && {
# see https://github.com/codecov/example-lua
bash <(curl -s https://codecov.io/bash)
} && popd || exit
fi
else
echo -e "\\n${ANSI_GREEN}Not on official master branch. Skipping coverage."
fi
make coverage

0 comments on commit 03e0459

Please sign in to comment.