Skip to content

Commit

Permalink
Adjust github action file
Browse files Browse the repository at this point in the history
  • Loading branch information
JyskFynskeMedierJoej committed Jan 10, 2025
1 parent 082b2a7 commit caf9bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: php -m

- name: Test MySQL Connectivity
run: apt-get update && apt-get install -y mysql-client; mysqladmin ping -h mysql -u root --password=root
run: sudo apt-get update && sudo apt-get install -y mysql-client; mysqladmin ping -h mysql -u root --password=root

- name: Test PostgreSQL Connectivity
run: apt-get update && apt-get install -y postgresql-client; pg_isready -h postgres -U root
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<const name="DB_CACHE_TEST_PGSQL_DSN" value="pgsql:host=postgresql;port=5432;dbname=kodus_db_cache_test"/>
<const name="DB_CACHE_TEST_PGSQL_USERNAME" value="root"/>
<const name="DB_CACHE_TEST_PGSQL_PASSWORD" value="root"/>
<const name="DB_CACHE_TEST_MYSQL_DSN" value="mysql:host=mysql;port=3306;dbname=kodus_db_cache_test"/>
<const name="DB_CACHE_TEST_MYSQL_DSN" value="mysql:host=172.17.0.1;port=3306;dbname=kodus_db_cache_test"/>
<const name="DB_CACHE_TEST_MYSQL_USERNAME" value="root"/>
<const name="DB_CACHE_TEST_MYSQL_PASSWORD" value="root"/>
</php>
Expand Down

0 comments on commit caf9bfc

Please sign in to comment.