We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d37fd42 commit e0c7fdfCopy full SHA for e0c7fdf
.yamato/yamato-config.yml
@@ -15,7 +15,7 @@ commands:
15
- command: |
16
linecoverage=$(head -2 test-results/coverage.xml | grep -Eo 'line-rate="[0-9]+([.][0-9]+)?"' | grep -Eo "[0-9]+([.][0-9]+)?")
17
echo "Line coverage: $linecoverage"
18
- if [[ $linecoverage < 0 ]]; then exit 1; fi
+ if (( $(echo "$linecoverage < 0.3" | bc -l) )); then exit 1; fi
19
triggers:
20
cancel_old_ci: true
21
expression: |
0 commit comments