From 5640653f5e1aec676b6cb8a869a30e0f2ab627bc Mon Sep 17 00:00:00 2001 From: Matias Garcia Isaia Date: Fri, 14 Oct 2022 18:55:55 -0300 Subject: [PATCH] Fix Github Actions CI script The name of the container was wrong, and the `bundle install` is already done when building the image - dependencies are in the image itself. --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3bc3a1..6d5853d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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