diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c28079..002a5d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ jobs: postgres: image: postgres env: - POSTGRES_USER: gamification - POSTGRES_PASSWORD: gamification + POSTGRES_USER: gamou + POSTGRES_PASSWORD: gamou options: >- --health-cmd pg_isready --health-interval 10s @@ -34,8 +34,8 @@ jobs: - name: Build App env: PGHOST: localhost - PGUSER: gamification - PGPASSWORD: gamification + PGUSER: gamou + PGPASSWORD: gamou RAILS_ENV: test run: | bin/rails db:setup @@ -45,8 +45,8 @@ jobs: - name: Run Tests env: PGHOST: localhost - PGUSER: gamification - PGPASSWORD: gamification + PGUSER: gamou + PGPASSWORD: gamou RAILS_ENV: test run: | bundle exec rspec diff --git a/config/database.yml b/config/database.yml index 8f01b05..1dc0836 100644 --- a/config/database.yml +++ b/config/database.yml @@ -1,21 +1,21 @@ default: &default adapter: postgresql encoding: unicode - username: gamification - password: gamification + username: gamou + password: gamou host: localhost pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> development: <<: *default - database: gamification_development + database: gamou_development test: <<: *default - database: gamification_test + database: gamou_test production: <<: *default - database: gamification_production - username: gamification - password: gamification + database: gamou_production + username: gamou + password: gamou