mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Add test wakatime db
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -105,6 +105,7 @@ jobs:
|
||||
bin/rails db:create RAILS_ENV=test
|
||||
bin/rails db:migrate RAILS_ENV=test
|
||||
# Create additional test databases
|
||||
psql -h localhost -U postgres -c "CREATE DATABASE test_wakatime;"
|
||||
psql -h localhost -U postgres -c "CREATE DATABASE test_sailors_log;"
|
||||
psql -h localhost -U postgres -c "CREATE DATABASE test_warehouse;"
|
||||
bin/rails test
|
||||
|
||||
@@ -54,7 +54,10 @@ test:
|
||||
password: postgres
|
||||
database_tasks: false
|
||||
wakatime:
|
||||
url: <%= ENV['WAKATIME_DATABASE_URL'] %>
|
||||
adapter: postgresql
|
||||
database: test_wakatime
|
||||
username: postgres
|
||||
password: postgres
|
||||
replica: true
|
||||
sailors_log:
|
||||
adapter: postgresql
|
||||
|
||||
Reference in New Issue
Block a user