diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 84cfdf20..02d7107e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,18 +37,8 @@ jobs: - name: Install Playwright Browsers run: 'npx playwright install chromium --with-deps' - - name: Run Unit Tests - run: | - cd test/dummy - bundle exec rails db:schema:load RAILS_ENV=test - bundle exec rails db:migrate RAILS_ENV=test - cd - - bundle exec rails test - - - name: Run System Tests - run: | - cd test/dummy - bundle exec rails db:schema:load RAILS_ENV=test - bundle exec rails db:migrate RAILS_ENV=test - cd - - bundle exec rails test:system + - name: Prepare Tests + run: cd test/dummy && bundle exec rails test:prepare + + - name: Run Tests + run: bundle exec rails test:all