ci: fix test / coverage (#12367)

Don't try to re-build (particularly base, since some things where removed before saving the build cache).
This commit is contained in:
Benoit Pierre
2024-08-17 16:43:39 +00:00
committed by GitHub
parent 49a991e82f
commit 6bd710b868

View File

@@ -10,11 +10,11 @@ if [ -z "${CIRCLE_PULL_REQUEST}" ] && [ "${CIRCLE_BRANCH}" = 'master' ]; then
echo "CIRCLE_NODE_INDEX: ${CIRCLE_NODE_INDEX}" echo "CIRCLE_NODE_INDEX: ${CIRCLE_NODE_INDEX}"
if [ "${CIRCLE_NODE_INDEX}" = 1 ]; then if [ "${CIRCLE_NODE_INDEX}" = 1 ]; then
echo -e "\\n${ANSI_GREEN}Running make testfront for timings." echo -e "\\n${ANSI_GREEN}Running make testfront for timings."
make testfront BUSTED_OVERRIDES="--output=junit -Xoutput junit-test-results.xml" make --assume-old=all testfront BUSTED_OVERRIDES="--output=junit -Xoutput junit-test-results.xml"
fi fi
if [ "${CIRCLE_NODE_INDEX}" = 0 ]; then if [ "${CIRCLE_NODE_INDEX}" = 0 ]; then
travis_retry make coverage travis_retry make --assume-old=all coverage
pushd install/koreader && { pushd install/koreader && {
# see https://github.com/codecov/example-lua # see https://github.com/codecov/example-lua
bash <(curl -s https://codecov.io/bash) bash <(curl -s https://codecov.io/bash)