Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Nov 19, 2024
1 parent ab5e779 commit aa8696d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ run:

test-all: test-sqlite \
test-mysql \
test-mariadb \
test-pgsql \
test-mssql \
test-oracle
test-sqlite: testsuite-Sqlite
test-mysql: testsuite-Mysql
test-mariadb:
docker compose run \
--rm \
--entrypoint "vendor/bin/phpunit --testsuite Mysql" \
-e YII_MYSQL_TYPE=mariadb \
php
test-pgsql: testsuite-Pgsql
test-mssql: testsuite-Mssql
test-oracle:
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ services:
depends_on:
mysql:
condition: service_healthy
mariadb:
condition: service_healthy
postgres:
condition: service_healthy
mssql:
Expand All @@ -22,6 +24,13 @@ services:
YII_MYSQL_PORT: 3306
YII_MYSQL_USER: root
YII_MYSQL_PASSWORD: root
YII_MYSQL_TYPE: mysql

YII_MARIADB_DATABASE: yii
YII_MARIADB_HOST: mariadb
YII_MARIADB_PORT: 13306
YII_MARIADB_USER: root
YII_MARIADB_PASSWORD: root

YII_PGSQL_DATABASE: yii
YII_PGSQL_HOST: postgres
Expand Down

0 comments on commit aa8696d

Please sign in to comment.