fix_: no test reporting to codecov (#5968)

This commit is contained in:
Igor Sirotin 2024-10-21 12:33:27 +01:00 committed by GitHub
parent 9f564010da
commit 42022599e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,11 @@ report_to_codecov() {
report_files_args+="--file ${file} "
done
codecov do-upload --token "${CODECOV_TOKEN}" --report-type test_results ${report_files_args}
# Don't upload test results to Codecov while we re-run tests on failure.
# This results in having both failure and success results in the same report, which Codecov treats as a failure
# and doesn't report coverage to Github. More details here: https://github.com/status-im/status-go/issues/5963
# codecov do-upload --token "${CODECOV_TOKEN}" --report-type test_results ${report_files_args}
codecov upload-process --token "${CODECOV_TOKEN}" -f ${coverage_report} -F "${flag}"
}