We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ebff69 + 576ba9e commit 8f249f2Copy full SHA for 8f249f2
railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt
@@ -126,7 +126,11 @@ jobs:
126
DATABASE_URL: postgres://postgres:postgres@localhost:5432
127
<%- end -%>
128
# REDIS_URL: redis://localhost:6379/0
129
+ <%- if options[:api] -%>
130
+ run: bin/rails db:test:prepare test
131
+ <%- else -%>
132
run: bin/rails db:test:prepare test test:system
133
+ <%- end -%>
134
135
- name: Keep screenshots from failed system tests
136
uses: actions/upload-artifact@v4
0 commit comments