fix migration and add smoke test for migrations (#438)

* adds a smoke test in the CI for the migration

* add back money rails gem

* really remove money-rails

* update the migration to remove add_monetize
This commit was merged in pull request #438.
This commit is contained in:
Adrien Poly
2024-02-11 19:34:18 +01:00
committed by GitHub
parent c483153721
commit d3151be9ae
2 changed files with 8 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ name: CI
on:
pull_request:
push:
branches: [ main ]
branches: [main]
jobs:
scan_ruby:
@@ -92,6 +92,12 @@ jobs:
# REDIS_URL: redis://localhost:6379/0
run: bin/rails db:setup test test:system
- name: Smoke test database seeds
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432
run: bin/rails db:reset
- name: Keep screenshots from failed system tests
uses: actions/upload-artifact@v4
if: failure()