Skip to content

Commit 20444dd

Browse files
authored
Merge pull request rails#51706 from viktorianer/avoid-seed-data-execution-in-ci
Avoid seed data execution in CI by replacing `db:setup` with `db:test:prepare`
2 parents cf64895 + cbbc647 commit 20444dd

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/github

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
DATABASE_URL: postgres://postgres:postgres@localhost:5432
127127
<%- end -%>
128128
# REDIS_URL: redis://localhost:6379/0
129-
run: bin/rails db:setup test test:system
129+
run: bin/rails db:test:prepare test test:system
130130

131131
- name: Keep screenshots from failed system tests
132132
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)