File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 33
44# REMEMBER TO UPDATE THE .BAT FILE
55
6+ UNIT_COVERAGE_THRESHOLD=20
7+
68set -e
79
810echo "==============================="
@@ -13,7 +15,7 @@ vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit --cove
1315echo "==============================="
1416echo " UNIT TEST COVERAGE"
1517echo "==============================="
16- vendor/bin/coverage-check clover.xml 20
18+ vendor/bin/coverage-check clover.xml $UNIT_COVERAGE_THRESHOLD
1719
1820echo "==============================="
1921echo " VERIFICATION TESTS"
Original file line number Diff line number Diff line change 33
44:: REMEMBER TO UPDATE THE BASH FILE
55
6+ SET UNIT_COVERAGE_THRESHOLD = 20
7+
68@ echo ===============================UNIT TESTS===============================
79@ echo off
810call vendor\bin\phpunit --configuration dev\tests\phpunit.xml --testsuite unit --coverage-clover clover.xml
911
1012@ echo ===========================UNIT TEST COVERAGE===========================
1113@ echo off
12- call vendor\bin\coverage-check clover.xml 20
14+ call vendor\bin\coverage-check clover.xml %UNIT_COVERAGE_THRESHOLD%
1315
1416@ echo ===========================VERIFICATION TESTS===========================
1517@ echo off
You can’t perform that action at this time.
0 commit comments