[TOOLS][PHPStan][TESTS][Docker] Rework testing Docker container into a more generic tooling container. Keep services up and run coverage and phpstan as commands, for performance and ease of use

This commit is contained in:
2021-09-09 00:40:34 +01:00
parent 9742a07bae
commit 9d7f43cd28
12 changed files with 30 additions and 21 deletions

7
docker/tooling/coverage.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
cd /var/www/social || exit 1
yes yes | php bin/console doctrine:fixtures:load || exit 1
runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report