10000 Use RAILS_ENV=test for rake db:seed · nerdy-tech-com-gitub/CodeTriage@6a25650 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a25650

Browse files
committed
Use RAILS_ENV=test for rake db:seed
1 parent c197bb5 commit 6a25650

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
with:
3030
ruby-version: ${{ matrix.ruby }}
3131
bundler-cache: true
32-
3332
- name: Linting
3433
run: |
3534
bundle exec standardrb
@@ -39,6 +38,6 @@ jobs:
3938
RAILS_ENV=test bundle exec rake db:create db:schema:load
4039
- name: Run tests
4140
run: bin/rake test
42-
- name: Run seed tasks
43-
run: bin/rails db:seed
41+
- name: Ensure seed task still works
42+
run: RAILS_ENV=test bin/rails db:seed
4443

0 commit comments

Comments
 (0)
0