From c702b398d61e05f28cc2b09303a70a00ef8521bf Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 4 Apr 2021 17:01:10 +0100 Subject: [PATCH] Add warning comment on migration test isolation --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) 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"