Skip to content

Commit

Permalink
fix: [#115] Adjust wording to make clear what value should be adjuste…
Browse files Browse the repository at this point in the history
…d to resolve the coverage issue

Co-authored-by: Mark van Lent <[email protected]>
  • Loading branch information
sbp-bvanb and markvl-sbp committed Nov 12, 2024
1 parent 6388a7f commit 28918ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tasks:
echo "The actual code coverage: '${code_coverage_actual}' is too low. Expected: '{{.CODE_COVERAGE_EXPECTED}}'. Resolve the issue by writing more unit and/or integration tests."
exit 1
elif (( $(echo "${code_coverage_actual} > {{.CODE_COVERAGE_EXPECTED}}" | bc -l) )); then
echo "The actual code coverage: '${code_coverage_actual}' exceeds the expected coverage. Please adjust the threshold that is defined in the .github/workflows/golang.yml workflow to align with the expected: '{{.CODE_COVERAGE_EXPECTED}}'."
echo "The actual code coverage: '${code_coverage_actual}' exceeds the expected coverage. Please adjust the threshold that is defined in the .github/workflows/golang.yml workflow from '{{.CODE_COVERAGE_EXPECTED}}'. to '${code_coverage_actual}'"
exit 1
fi
coverage-visual:
Expand Down

0 comments on commit 28918ed

Please sign in to comment.