mirror of
https://github.com/elyby/accounts.git
synced 2024-12-28 08:00:25 +05:30
Upgrade tests environment
This commit is contained in:
parent
069e4876dd
commit
92ee283039
1
tests/.gitignore
vendored
Normal file
1
tests/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.bash_history
|
@ -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
|
||||
|
@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
./../vendor/bin/codecept build
|
||||
./../vendor/bin/codecept run $*
|
@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
docker-compose run --rm testphp ./tests/php.sh $*
|
||||
docker-compose stop # docker не останавливает зависимые контейнеры после завершения работы главного процесса
|
Loading…
Reference in New Issue
Block a user