Skip to content

Commit

Permalink
Fix Github Actions CI script
Browse files Browse the repository at this point in the history
The name of the container was wrong, and the `bundle install` is already
done when building the image - dependencies are in the image itself.
  • Loading branch information
matiasgarciaisaia committed Oct 14, 2022
1 parent fd9f94d commit 5640653
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ jobs:
run: |
docker-compose pull
docker-compose build
docker-compose run --rm web bundle install
docker-compose run --rm web rake db:create db:migrate
docker-compose run --rm web rake db:test:prepare
docker-compose run --rm app rake db:create db:migrate
docker-compose run --rm app rake db:test:prepare
- name: Run specs
run: |
docker-compose run --rm web bundle exec rubocop
docker-compose run --rm web bundle exec rspec
docker-compose run --rm app bundle exec rubocop
docker-compose run --rm app bundle exec rspec
build:
needs: test
Expand Down

0 comments on commit 5640653

Please sign in to comment.