Upgrade tests environment

This commit is contained in:
ErickSkrauch 2018-07-11 02:24:05 +03:00
parent 069e4876dd
commit 92ee283039
4 changed files with 4 additions and 14 deletions

1
tests/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.bash_history

View File

@ -2,10 +2,11 @@ version: '2'
services:
testphp:
container_name: accountelyby_testphp
image: account_testphp
image: registry.ely.by/elyby/accounts:dev
build:
context: ../
dockerfile: Dockerfile-dev
args:
build_env: dev
depends_on:
- testdb
- testredis

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
cd "$(dirname "$0")"
./../vendor/bin/codecept build
./../vendor/bin/codecept run $*

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
cd "$(dirname "$0")"
docker-compose run --rm testphp ./tests/php.sh $*
docker-compose stop # docker не останавливает зависимые контейнеры после завершения работы главного процесса