Skip to content

Commit e0c7fdf

Browse files
fix the bug (#64)
1 parent d37fd42 commit e0c7fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.yamato/yamato-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ commands:
1515
- command: |
1616
linecoverage=$(head -2 test-results/coverage.xml | grep -Eo 'line-rate="[0-9]+([.][0-9]+)?"' | grep -Eo "[0-9]+([.][0-9]+)?")
1717
echo "Line coverage: $linecoverage"
18-
if [[ $linecoverage < 0 ]]; then exit 1; fi
18+
if (( $(echo "$linecoverage < 0.3" | bc -l) )); then exit 1; fi
1919
triggers:
2020
cancel_old_ci: true
2121
expression: |

0 commit comments

Comments
 (0)