run migrations before tests
This commit is contained in:
parent
974daaf04c
commit
8078e5d576
|
@ -27,7 +27,7 @@ jobs:
|
|||
with:
|
||||
bundler-cache: true
|
||||
- name: Prepare database
|
||||
run: ./bin/rails db:schema:load
|
||||
run: ./bin/rails db:schema:load && ./bin/rails db:migrate
|
||||
- name: Run tests
|
||||
run: |
|
||||
bundle exec rspec
|
||||
|
|
Loading…
Reference in New Issue