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 43e72d8 commit 4eff8daCopy full SHA for 4eff8da
tests/phpunit/run.sh
@@ -10,6 +10,10 @@ DB="${DB:-sqlite}"
10
11
echo "SETTING UP DB $DB"
12
13
+COVERAGE_REQUIREMENT=78
14
+
15
+echo "Coverage requirement is ${COVERAGE_REQUIREMENT}%"
16
17
export DB_DRIVER=$DB
18
export DB_NAME=cypht_test
19
@@ -43,4 +47,4 @@ else
43
47
fi
44
48
45
49
phpunit --bootstrap vendor/autoload.php --configuration ${SCRIPT_DIR}/phpunit.xml --testdox $@
46
-vendor/bin/coverage-check ${SCRIPT_DIR}/clover.xml 100
50
+vendor/bin/coverage-check ${SCRIPT_DIR}/clover.xml ${COVERAGE_REQUIREMENT}
0 commit comments