Run Test units

This commit is contained in:
MiltonPM
2019-06-14 11:44:00 -04:00
parent 456fc0cb75
commit 01ac74087f

View File

@@ -19,9 +19,7 @@ jobs:
command: |
set -e
mkdir coverage
vendor/phpunit/phpunit/phpunit --coverage-text=coverage/result.txt tests/unit/
- run: ls -la coverage
- run: mysql -u root -ppassword -e "use test; show tables;"
vendor/phpunit/phpunit/phpunit --coverage-text=coverage/result.txt --coverage-html coverage tests/unit/
- store_artifacts:
path: coverage
destination: coverage