Skip to content

Commit

Permalink
test prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Feb 23, 2024
1 parent c9bfc2e commit 07c6ea1
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 07c6ea1

Please sign in to comment.