Skip to content

Commit

Permalink
fix the bug (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
peifeng-unity authored May 17, 2021
1 parent d37fd42 commit e0c7fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .yamato/yamato-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ commands:
- command: |
linecoverage=$(head -2 test-results/coverage.xml | grep -Eo 'line-rate="[0-9]+([.][0-9]+)?"' | grep -Eo "[0-9]+([.][0-9]+)?")
echo "Line coverage: $linecoverage"
if [[ $linecoverage < 0 ]]; then exit 1; fi
if (( $(echo "$linecoverage < 0.3" | bc -l) )); then exit 1; fi
triggers:
cancel_old_ci: true
expression: |
Expand Down

0 comments on commit e0c7fdf

Please sign in to comment.