Skip to content

Commit

Permalink
Use RAILS_ENV=test for rake db:seed
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Oct 28, 2023
1 parent c197bb5 commit 6a25650
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Linting
run: |
bundle exec standardrb
Expand All @@ -39,6 +38,6 @@ jobs:
RAILS_ENV=test bundle exec rake db:create db:schema:load
- name: Run tests
run: bin/rake test
- name: Run seed tasks
run: bin/rails db:seed
- name: Ensure seed task still works
run: RAILS_ENV=test bin/rails db:seed

0 comments on commit 6a25650

Please sign in to comment.