mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
database_gha.yml == database.yml
This commit is contained in:
parent
883ed6249d
commit
c5164bf382
3 changed files with 2 additions and 25 deletions
1
.github/workflows/ruby.yml
vendored
1
.github/workflows/ruby.yml
vendored
|
@ -95,6 +95,5 @@ jobs:
|
|||
ruby-version: ${{ matrix.ruby_version }}
|
||||
bundler-cache: true
|
||||
continue-on-error: ${{ matrix.ruby_version == 'ruby-head' || matrix.ruby_version == 'jruby-9.2.17.0' || matrix.gemfile == 'gemfiles/active_record_edge.gemfile' }}
|
||||
- run: mv kaminari-core/test/fake_app/config/database_gha.yml kaminari-core/test/fake_app/config/database.yml
|
||||
- run: bundle exec rake test
|
||||
continue-on-error: ${{ matrix.ruby_version == 'ruby-head' || matrix.ruby_version == 'jruby-9.2.17.0' || matrix.gemfile == 'gemfiles/active_record_edge.gemfile' }}
|
||||
|
|
|
@ -8,14 +8,14 @@ postgresql: &postgresql
|
|||
adapter: postgresql
|
||||
host: localhost
|
||||
username: postgres
|
||||
password:
|
||||
password: <%= ENV['POSTGRES_PASSWORD'] %>
|
||||
database: kaminari_test
|
||||
|
||||
mysql: &mysql
|
||||
adapter: mysql2
|
||||
host: localhost
|
||||
username: root
|
||||
password:
|
||||
password: <%= ENV['MYSQL_PASSWORD'] %>
|
||||
database: kaminari_test
|
||||
|
||||
test:
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
sqlite3: &sqlite3
|
||||
adapter: sqlite3
|
||||
database: <%= File.expand_path '../../kaminari_test.sqlite3', __FILE__ %>
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
|
||||
postgresql: &postgresql
|
||||
adapter: postgresql
|
||||
host: localhost
|
||||
username: postgres
|
||||
password: <%= ENV['POSTGRES_PASSWORD'] %>
|
||||
database: kaminari_test
|
||||
|
||||
mysql: &mysql
|
||||
adapter: mysql2
|
||||
host: localhost
|
||||
username: root
|
||||
password: <%= ENV['MYSQL_PASSWORD'] %>
|
||||
database: kaminari_test
|
||||
|
||||
test:
|
||||
<<: *<%= ENV['DB'] %>
|
Loading…
Reference in a new issue