Skip to content

Commit

Permalink
cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
hkim3163 committed Feb 28, 2023
1 parent 9577a41 commit 139f29a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ jobs:
bundler-cache: true

- name: Install Library Dependencies
run: sudo apt-get install libpq-dev
run: |
sudo apt-get install libpq-dev
sudo apt-get install postgresql-client postgresql-client-common
ls -al /usr/lib/postgresql/
sudo -E sh -c 'service postgresql stop'
sleep 5s
sudo -E sh -c 'service postgresql start'
- name: Setup Database
run: |
Expand All @@ -53,3 +59,11 @@ jobs:
POSTGRES_PASSWORD: postgres
run: |
bundle exec rspec
- name: Test with Cucumber
env:
RAILS_ENV: "test"
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
run: |
bundle exec cucumber

0 comments on commit 139f29a

Please sign in to comment.