From 8544432d997fd04284e13943cb28e549cce203e9 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Wed, 10 Jan 2024 14:50:28 -0600 Subject: [PATCH] CI: debug db connection --- .github/workflows/ci.yml | 1 + config/environments/test.rb | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38790ea87..0938d19dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,7 @@ jobs: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres run: | + more config/database.yml bundle exec rake geoportal:index:seed bundle exec rails test:system test diff --git a/config/environments/test.rb b/config/environments/test.rb index febe4295f..502f27afd 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -9,8 +9,7 @@ # Settings specified here will take precedence over those in config/application.rb. # Turn false under Spring and add config.action_view.cache_template_loading = true. - config.cache_classes = false - config.action_view.cache_template_loading = true + config.cache_classes = true # Eager loading loads your whole application. When running a single test locally, # this probably isn't necessary. It's a good idea to do in a continuous integration