Change unit testing to match phpDocumentor itself

This commit is contained in:
Mike van Riel
2020-02-12 08:18:08 +01:00
parent 1070e666aa
commit 50e77ace68
7 changed files with 82 additions and 41 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ psalm:
.PHONY: test
test:
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.4-pcov tools/phpunit
docker run -it --rm -v${CURDIR}:/github/workspace phpdoc/phpunit-ga
docker run -it --rm -v${CURDIR}:/data -w /data php:7.2 -f ./tests/coverage-checker.php 89
.PHONY: pre-commit-test
pre-commit-test: test phpcs phpstan psalm