diff --git a/_assets/scripts/run_integration_tests.sh b/_assets/scripts/run_integration_tests.sh index 714358758..9cf466323 100755 --- a/_assets/scripts/run_integration_tests.sh +++ b/_assets/scripts/run_integration_tests.sh @@ -4,10 +4,13 @@ GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel) source "${GIT_ROOT}/_assets/scripts/colors.sh" source "${GIT_ROOT}/_assets/scripts/codecov.sh" -root_path=./integration-tests +root_path="${GIT_ROOT}/integration-tests" coverage_reports_path="${root_path}/coverage" test_results_path="${root_path}/reports" +# Create directories +mkdir -p "${GIT_ROOT}/integration-tests/coverage" + # Cleanup any previous coverage reports rm -rf ${coverage_reports_path} rm -rf ${test_results_path}