From 2438311f7c03e8256f21448a28e6c12a1d3c86d6 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Thu, 5 Sep 2024 22:07:18 +0100 Subject: [PATCH] fix_: absolute path --- _assets/scripts/run_integration_tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}