Commit f8aae6d7 by mingyuan

prepare db

parent 34387814
......@@ -40,7 +40,7 @@ jobs:
test/dummy/bin/yarn install --check-files
- name: Prepare DB
run: |
RAILS_ENV=test bin/rails db:create
RAILS_ENV=test bin/rails app:db:prepare
RAILS_ENV=test bin/rails g rails_com:migrations -f
RAILS_ENV=test bin/rails db:migrate
- name: Run Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment