Attempt to fix test db

This commit is contained in:
Max Wofford
2025-02-22 02:33:10 -05:00
parent 5c565d796b
commit 15d24555e9

View File

@@ -66,7 +66,7 @@ jobs:
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
POSTGRES_DB: test_db
# services:
# redis:
@@ -91,8 +91,13 @@ jobs:
env:
RAILS_ENV: test
# REDIS_URL: redis://localhost:6379/0
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
run: bin/rails db:test:prepare test test:system
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/test_db
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: postgres
run: |
bin/rails db:test:prepare db:test:load
bin/rails test test:system
- name: Keep screenshots from failed system tests
uses: actions/upload-artifact@v4