From 28918ed49afcc60c5caa26d795d5959ece1cc317 Mon Sep 17 00:00:00 2001 From: sbp-bvanb <126502840+sbp-bvanb@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:42:24 +0100 Subject: [PATCH] fix: [#115] Adjust wording to make clear what value should be adjusted to resolve the coverage issue Co-authored-by: Mark van Lent <146331321+markvl-sbp@users.noreply.github.com> --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index a2f8a35..cc07f94 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -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: