update min score

This commit is contained in:
Salvatore Giordano
2021-03-01 16:42:07 +01:00
parent e7334dcf9b
commit 3889c07cc1
+2 -2
View File
@@ -32,7 +32,7 @@ jobs:
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }} TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
run: | run: |
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX )) PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
if (( $PERCENTAGE < 90 )) if (( $PERCENTAGE < 110 ))
then then
echo Score too low! echo Score too low!
exit 1 exit 1
@@ -74,7 +74,7 @@ jobs:
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }} TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
run: | run: |
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX )) PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
if (( $PERCENTAGE < 90 )) if (( $PERCENTAGE < 110 ))
then then
echo Score too low! echo Score too low!
exit 1 exit 1