File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 3232 pipx install conan
3333 pipx ensurepath
3434
35-
3635 - name : Verify tool versions
3736 run : |
3837 gcc --version
5251
5352 - name : Run EEST blockchain tests
5453 id : run_tests
54+ shell : bash
5555 run : |
5656 set +e
5757 make eest-blockchain-tests 2>&1 | tee output.log
@@ -100,21 +100,20 @@ jobs:
100100 failed=${{ steps.run_tests.outputs.failed }}
101101 total=${{ steps.run_tests.outputs.total }}
102102 exit_code=${{ steps.run_tests.outputs.exit_code }}
103-
103+
104104 if [[ "$failed" == "-1" ]]; then
105105 echo "ERROR: Could not parse test results"
106106 exit 1
107107 fi
108-
108+
109109 if (( failed > 5 )); then
110110 echo "Too many failures - ${failed} failed out of ${total}"
111111 echo "failed" > failed.log
112112 exit 1
113113 fi
114-
114+
115115 if (( failed > 0 )); then
116116 echo "WARNING: ${failed} test(s) failed, but within acceptable threshold (<=5)"
117117 else
118118 echo "SUCCESS: All ${total} tests passed!"
119119 fi
120-
You can’t perform that action at this time.
0 commit comments