Skip to content

Commit 85a10d0

Browse files
committed
Fix bash issue
1 parent 3b891cd commit 85a10d0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/eest-blockchain-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
pipx install conan
3333
pipx ensurepath
3434
35-
3635
- name: Verify tool versions
3736
run: |
3837
gcc --version
@@ -52,6 +51,7 @@ jobs:
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-

0 commit comments

Comments
 (0)