We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b135795 commit 8f7ba27Copy full SHA for 8f7ba27
1 file changed
.github/workflows/pr.yaml
@@ -318,9 +318,8 @@ jobs:
318
path: upload
319
- name: Check status of combined status
320
run: |
321
- stat=$(jq '.["tests"][]["data"]["status"]' upload/tool_test_output.json | grep -v "success" || true)
322
- if [[ "$(echo -n $stat | wc -l)" -gt "0" ]]; then
323
- echo "Unsuccessful tests found $(sort <<<$stat | uniq -c)"
+ if jq '.["tests"][]["data"]["status"]' upload/tool_test_output.json | grep -v "success"; then
+ echo "Unsuccessful tests found, inspect the 'All tool test results' artifact for details."
324
exit 1
325
fi
326
0 commit comments