Skip to content

Commit

Permalink
added db migration step in github workflow before running unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Rajesh Paul <rajesh.paul@progress.com>
  • Loading branch information
RajeshPaul38 committed Aug 24, 2021
1 parent c852e38 commit 78084aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
env:
RAILS_ENV: test
working-directory: src/supermarket
- name: run db migration for running unit tests (specs)
run: bundle exec rake db:migrate
env:
RAILS_ENV: test
working-directory: src/supermarket
- name: run specs
run: bundle exec rake spec --trace
env:
Expand Down

0 comments on commit 78084aa

Please sign in to comment.