Skip to content

Commit

Permalink
ci: change the database user/password
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwemox authored and x86demon committed Apr 24, 2024
1 parent fafc5b9 commit 80747e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
- db_image_name: mysql
db_image_version: 8
db: mysql
vars: '-e MYSQL_PASSWORD=travis -e MYSQL_DATABASE=doctrine_extensions_tests -e MYSQL_USER=travis -e MYSQL_ROOT_PASSWORD=travis'
vars: '-e MYSQL_PASSWORD=myPassword -e MYSQL_DATABASE=doctrine_extensions_tests -e MYSQL_USER=u_doctrine_extensions -e MYSQL_ROOT_PASSWORD=myPassword'
db_port: 3306
health: '--health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=10s --health-retries=10'
- db_image_name: percona
db_image_version: 8
db: mysql
vars: '-e MYSQL_PASSWORD=travis -e MYSQL_DATABASE=doctrine_extensions_tests -e MYSQL_USER=travis -e MYSQL_ROOT_PASSWORD=travis'
vars: '-e MYSQL_PASSWORD=myPassword -e MYSQL_DATABASE=doctrine_extensions_tests -e MYSQL_USER=u_doctrine_extensions -e MYSQL_ROOT_PASSWORD=myPassword'
db_port: 3306
health: '--health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=10s --health-retries=10'
- db_image_name: postgres
db_image_version: 15
db: pgsql
vars: '-e POSTGRES_DB=doctrine_extensions_tests -e POSTGRES_USER=travis -e POSTGRES_PASSWORD=travis'
vars: '-e POSTGRES_DB=doctrine_extensions_tests -e POSTGRES_USER=u_doctrine_extensions -e POSTGRES_PASSWORD=myPassword'
health: '--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5'
db_port: 5432

Expand Down
4 changes: 2 additions & 2 deletions tests/config/mysql.phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<php>
<var name="db_type" value="pdo_mysql"/>
<var name="db_host" value="127.0.0.1"/>
<var name="db_username" value="travis"/>
<var name="db_password" value="travis"/>
<var name="db_username" value="u_doctrine_extensions"/>
<var name="db_password" value="myPassword"/>
<var name="db_name" value="doctrine_extensions_tests"/>
<var name="db_port" value="3306"/>
</php>
Expand Down
4 changes: 2 additions & 2 deletions tests/config/pgsql.phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<php>
<var name="db_type" value="pdo_pgsql"/>
<var name="db_host" value="localhost"/>
<var name="db_username" value="travis"/>
<var name="db_password" value="travis"/>
<var name="db_username" value="u_doctrine_extensions"/>
<var name="db_password" value="myPassword"/>
<var name="db_name" value="doctrine_extensions_tests"/>
<var name="db_port" value="5432"/>
</php>
Expand Down

0 comments on commit 80747e1

Please sign in to comment.