Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Github Action for code quality and unit test using rspec #1

Merged
merged 12 commits into from
Sep 7, 2021
Prev Previous commit
Next Next commit
add database.test.yml for run rspec
  • Loading branch information
r0r1 committed Aug 22, 2021
commit ea9232f43a012aef88bf0577a6f4e798b4777c2c
9 changes: 9 additions & 0 deletions config/database.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<%= ENV['RAILS_ENV'] %>:
adapter: postgresql
encoding: utf8
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: <%= ENV.fetch("DB_HOST") { 'localhost' } %>
port: <%= ENV.fetch("DB_PORT") { "5432" } %>
database: vision_test
username: postgres
password: postgres