Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Jan 18, 2024
1 parent 14afa86 commit 1837fd0
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
env:
RAILS_VERSION: ${{ matrix.rails }}
DATABASE_URL: ${{ matrix.adapter }}
SECONDARY_DATABASE_URL: ${{ matrix.adapter }}
SECONDARY_DATABASE_URL: ${{ matrix.adapter }}_secondary
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails }}.gemfile
WITH_ADVISORY_LOCK_PREFIX: ${{ github.run_id }}
run: bin/rake
2 changes: 1 addition & 1 deletion .github/workflows/ci_jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
env:
RAILS_VERSION: ${{ matrix.rails }}
DATABASE_URL: ${{ matrix.adapter }}
SECONDARY_DATABASE_URL: ${{ matrix.adapter }}
SECONDARY_DATABASE_URL: ${{ matrix.adapter }}_secondary
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails }}.gemfile
WITH_ADVISORY_LOCK_PREFIX: ${{ github.run_id }}
run: bin/rake
2 changes: 1 addition & 1 deletion .github/workflows/ci_truffleruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
env:
RAILS_VERSION: ${{ matrix.rails }}
DATABASE_URL: ${{ matrix.adapter }}
SECONDARY_DATABASE_URL: ${{ matrix.adapter }}
SECONDARY_DATABASE_URL: ${{ matrix.adapter }}_secondary
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails }}.gemfile
WITH_ADVISORY_LOCK_PREFIX: ${{ github.run_id }}
run: bin/rake
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.table_name_prefix = ENV['DB_PREFIX'].to_s
ActiveRecord::Base.table_name_suffix = ENV['DB_SUFFIX'].to_s
ActiveRecord::Base.establish_connection

def env_db
@env_db ||= ActiveRecord::Base.connection_db_config.adapter.to_sym
Expand Down
1 change: 0 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def env_db
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.table_name_prefix = ENV['DB_PREFIX'].to_s
ActiveRecord::Base.table_name_suffix = ENV['DB_SUFFIX'].to_s
ActiveRecord::Base.establish_connection

# Use in specs to skip some tests
def sqlite?
Expand Down

0 comments on commit 1837fd0

Please sign in to comment.