diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19f799186f..0059ce138d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -272,6 +272,8 @@ jobs: - name: Run JS tests run: RAILS_ENV=test bundle exec rake karma:run + # Migration tests need to be run in a separate task. + # See: https://github.com/openfoodfoundation/openfoodnetwork/pull/6924#issuecomment-813056525 - name: Run migration tests run: bundle exec rspec --pattern "spec/{migrations}/**/*_spec.rb"