mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Docker > docker-compose.yml > add "phpunit" service > used to run PHPUnit's tests
This commit is contained in:
@@ -6,6 +6,7 @@ Common and useful classes, methods, exceptions etc.
|
|||||||
|
|
||||||
1. Phing > update configuration
|
1. Phing > update configuration
|
||||||
2. Utilities > Date > update descriptions of methods
|
2. Utilities > Date > update descriptions of methods
|
||||||
|
3. Docker > docker-compose.yml > add "phpunit" service > used to run PHPUnit's tests
|
||||||
|
|
||||||
# 0.1.3
|
# 0.1.3
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
#
|
||||||
|
# Required to run project
|
||||||
|
#
|
||||||
php:
|
php:
|
||||||
image: ${DOCKER_CONTAINER_OWNER}/${DOCKER_CONTAINER_PROJECT}-php
|
image: ${DOCKER_CONTAINER_OWNER}/${DOCKER_CONTAINER_PROJECT}-php
|
||||||
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-php
|
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-php
|
||||||
@@ -18,3 +21,13 @@ services:
|
|||||||
entrypoint: php -d memory_limit=-1 /usr/local/bin/composer
|
entrypoint: php -d memory_limit=-1 /usr/local/bin/composer
|
||||||
volumes:
|
volumes:
|
||||||
- .:/project:cached
|
- .:/project:cached
|
||||||
|
#
|
||||||
|
# Required to run PHPUnit's tests
|
||||||
|
#
|
||||||
|
phpunit:
|
||||||
|
image: ${DOCKER_CONTAINER_OWNER}/${DOCKER_CONTAINER_PROJECT}-php
|
||||||
|
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-phpunit
|
||||||
|
entrypoint: ./vendor/bin/phpunit
|
||||||
|
command: --version
|
||||||
|
volumes:
|
||||||
|
- .:/project:cached
|
||||||
|
|||||||
Reference in New Issue
Block a user