Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit a922b66

Browse files
committed
fix typo
1 parent 9964bd0 commit a922b66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

entrypoint.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
#!/bin/sh -l
1+
#!/bin/bash
2+
3+
set -e
24

35
LCOV_PATH=$1
46
MINIMUM_COVERAGE=$2
57

68
CODE_COVERAGE=$(lcov --list ${LCOV_PATH} | sed -n "s/.*Total:|\(.*\)%.*/\1/p")
79

8-
echo "Minumum Coverage: ${MINIMUM_COVERAGE}$"
10+
echo "Minumum Coverage: ${MINIMUM_COVERAGE}%"
911
echo "Code Coverage: ${CODE_COVERAGE}%"
1012
if (( $(echo "$CODE_COVERAGE < $2" | bc) )); then
1113
exit 1;

0 commit comments

Comments
 (0)