2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00

ci/circle: fix tests parallelism (#12551)

Use `BUSTED_OVERRIDES`, as `BUSTED_SPEC_FILE` was
removed in 93c7ceccd9.
This commit is contained in:
Benoit Pierre 2024-09-25 08:10:40 +02:00 committed by GitHub
parent 72b7a1a92a
commit a4a04ac356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,9 +6,9 @@ source "${CI_DIR}/common.sh"
pushd install/koreader && {
# the circleci command spits out newlines; we want spaces instead
BUSTED_SPEC_FILE="$(circleci tests glob "spec/front/unit/*_spec.lua" | circleci tests split --split-by=timings --timings-type=filename | tr '\n' ' ')"
BUSTED_OVERRIDES="$(circleci tests glob "spec/front/unit/*_spec.lua" | circleci tests split --split-by=timings --timings-type=filename | tr '\n' ' ')"
} && popd || exit
make testfront --assume-old=all BUSTED_SPEC_FILE="${BUSTED_SPEC_FILE}"
make testfront --assume-old=all BUSTED_OVERRIDES="${BUSTED_OVERRIDES}"
# vim: sw=4