mirror of
https://github.com/elyby/accounts.git
synced 2025-02-09 10:16:49 +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:
|
services:
|
||||||
testphp:
|
testphp:
|
||||||
container_name: accountelyby_testphp
|
container_name: accountelyby_testphp
|
||||||
image: account_testphp
|
image: registry.ely.by/elyby/accounts:dev
|
||||||
build:
|
build:
|
||||||
context: ../
|
context: ../
|
||||||
dockerfile: Dockerfile-dev
|
args:
|
||||||
|
build_env: dev
|
||||||
depends_on:
|
depends_on:
|
||||||
- testdb
|
- testdb
|
||||||
- testredis
|
- 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…
x
Reference in New Issue
Block a user