2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,11 +10,11 @@ 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"
make --assume-old=all testfront BUSTED_OVERRIDES="--output=junit -Xoutput junit-test-results.xml"
fi
if [ "${CIRCLE_NODE_INDEX}" = 0 ]; then
travis_retry make coverage
travis_retry make --assume-old=all coverage
pushd install/koreader && {
# see https://github.com/codecov/example-lua
bash <(curl -s https://codecov.io/bash)