Skip to content

Commit

Permalink
Added languae
Browse files Browse the repository at this point in the history
Setup ini
  • Loading branch information
ruudboon committed Jan 15, 2020
1 parent 81dbcd4 commit 7bf227e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 33 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
uses: shivammathur/setup-php@v1
with:
php-version: '7.4'
ini-values: apc.enable_cli=on
tools: pecl
extensions: mbstring, intl, json, phalcon, imagick, apcu_bc
- name: Install packages
Expand Down
33 changes: 0 additions & 33 deletions codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,6 @@ settings:
memory_limit: 1024M
lint: true

modules:
- Db:
dsn: 'mysql:host=%DATA_MYSQL_HOST%;dbname=%DATA_MYSQL_NAME%;port=%DATA_MYSQL_PORT%'
user: '%DATA_MYSQL_USER%'
password: '%DATA_MYSQL_PASS%'
databases:
mysql:
dsn: 'mysql:host=%DATA_MYSQL_HOST%;dbname=%DATA_MYSQL_NAME%;port=%DATA_MYSQL_PORT%'
user: '%DATA_MYSQL_USER%'
password: '%DATA_MYSQL_PASS%'
populate: true
cleanup: false
dump: 'tests/_data/assets/db/schemas/mysql_schema.sql'
sqlite:
dsn: 'sqlite:%DATA_SQLITE_NAME%'
user: ''
password: ''
populate: true
cleanup: false
dump:
- 'tests/_data/assets/db/schemas/sqlite_schema.sql'
postgres:
dsn: 'pgsql:host=%DATA_POSTGRES_HOST%;dbname=%DATA_POSTGRES_NAME%;port=%DATA_POSTGRES_PORT%'
user: '%DATA_POSTGRES_USER%'
password: '%DATA_POSTGRES_PASS%'
populate: true
cleanup: false
dump: 'tests/_data/assets/db/schemas/postgresql_schema.sql'
initial_queries:
- 'DROP SCHEMA public CASCADE;'
- 'CREATE SCHEMA public;'
- 'GRANT ALL ON SCHEMA public TO phalcon;'
- 'GRANT ALL ON SCHEMA public TO public;'
# name of bootstrap that will be used
# each bootstrap file should be
# inside a suite directory.
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"ext-msgpack": "*",
"ext-apcu": "*",
"ext-imagick": "*",
"ext-intl": "*",
"codeception/codeception": "^4.0",
"friendsofphp/php-cs-fixer": "~2.0",
"mustache/mustache": "^2.12",
Expand Down
8 changes: 8 additions & 0 deletions tests/integration.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ modules:
cleanup: false
dump:
- 'tests/_data/assets/db/schemas/sqlite_schema.sql'
translations:
dsn: 'sqlite:%DATA_SQLITE_I18N_NAME%'
user: ''
password: ''
populate: true
cleanup: false
dump:
- 'tests/_data/assets/db/schemas/sqlite_translations_schema.sql'
postgres:
dsn: 'pgsql:host=%DATA_POSTGRES_HOST%;dbname=%DATA_POSTGRES_NAME%;port=%DATA_POSTGRES_PORT%'
user: '%DATA_POSTGRES_USER%'
Expand Down

0 comments on commit 7bf227e

Please sign in to comment.