fix_: merged_coverage_reports_path temp dir

This commit is contained in:
Igor Sirotin 2024-09-05 23:04:13 +01:00
parent 84a2a588c1
commit 9995dc1149
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95
1 changed files with 3 additions and 2 deletions

View File

@ -54,11 +54,12 @@ fi
# Prepare coverage reports
binary_coverage_reports_path="${coverage_reports_path}/binary"
merged_coverage_reports_path="${coverage_reports_path}/merged"
#merged_coverage_reports_path="${coverage_reports_path}/merged"
merged_coverage_reports_path="$(mktemp -d)"
full_coverage_profile="${coverage_reports_path}/coverage.out"
# Clean merged reports directory
mkdir -p "${merged_coverage_reports_path}"
#mkdir -p "${merged_coverage_reports_path}"
# Merge coverage reports
go tool covdata merge -i="${binary_coverage_reports_path}" -o="${merged_coverage_reports_path}"