Skip to content

Commit

Permalink
fix_: no test reporting to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Oct 19, 2024
1 parent 9f56401 commit 4180006
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _assets/scripts/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

Expand Down

0 comments on commit 4180006

Please sign in to comment.