Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
does this break it!?!
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Jul 12, 2022
1 parent 779151f commit d218a4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ci/complement_package.gotpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ which is under the Unlicense licence.
{{- /* Output an error marker if there are any failing tests, so GitHub will skip straight to them */ -}}
{{- $anyFailures := false -}}
{{- range .TestCases -}}
{{- if and (ne .Result "PASS") (ne .Result "SKIP") -}}
{{- $anyFailures = true -}}
{{- /* break */ -}}
{{- end -}}
{{- end -}}
{{- if $anyFailures -}}
::error title=Test Failures::At least one test failed
Expand Down

0 comments on commit d218a4b

Please sign in to comment.