kibana/.buildkite/scripts/steps/code_coverage/jest_integration.sh
Tre d92440e631
[QA][Code Coverage] Modularize Code Coverage (#133759)
Kinda sneaky...since we already mutate the jest portion of the
file system (target/kibana-coverage/jest)
by dumping "jest unit" & "jest integration" coverage
into the same "final" directory...go ahead an make "jest integration"
use the same ran file designator as "jest unit".
This saves me from having to add logic for this later on.
2022-06-13 15:40:59 +01:00

18 lines
417 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
source .buildkite/scripts/common/util.sh
source .buildkite/scripts/steps/code_coverage/util.sh
is_test_execution_step
.buildkite/scripts/bootstrap.sh
JOB=${BUILDKITE_PARALLEL_JOB:-0}
echo '--- Jest Integration code coverage'
.buildkite/scripts/steps/code_coverage/jest_parallel.sh jest.integration.config.js
# So the last step "knows" this config ran
uploadRanFile "jest"