diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df2059025..74f197ab9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,5 @@ jobs: INSTALL_PG: "true" - run: "bundle exec rake" env: + DATABASE_ADAPTER: github_actions_postgres INSTALL_PG: "true" diff --git a/config/database.yml b/config/database.yml index d4a8e152e..6b4393b84 100644 --- a/config/database.yml +++ b/config/database.yml @@ -36,6 +36,13 @@ test: <<: *default adapter: mysql2 host: "192.168.0.9" + github_actions_postgres: + adapter: postgres + database: postgres + username: postgres + password: postgres + host: localhost + port: "5432" development: default: