Commit 5034f692 by mingyuan

both with env

parent 62f7a917
...@@ -41,7 +41,7 @@ jobs: ...@@ -41,7 +41,7 @@ jobs:
- name: Prepare DB - name: Prepare DB
run: | run: |
RAILS_ENV=test bin/rails db:create RAILS_ENV=test bin/rails db:create
bin/rails g rails_com:migrations -f RAILS_ENV=test bin/rails g rails_com:migrations -f
RAILS_ENV=test bin/rails db:migrate RAILS_ENV=test bin/rails db:migrate
- name: Run Test - name: Run Test
run: | run: |
......
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