From fc1cee8f94b7bee2ca9537007bdc6851d4177af0 Mon Sep 17 00:00:00 2001 From: Clarissa Borges Date: Sat, 6 Mar 2021 19:10:31 -0300 Subject: [PATCH] Runs bundle install on bess build --- .github/workflows/ruby.yml | 11 +++++++++-- gems/bess/.gitignore | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index b5f752f6..baea23ac 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -62,6 +62,15 @@ jobs: key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}- + - name: install bess dependencies + run: | + cd gems/bess + bundle install --jobs 3 --retry 3 + - name: run spec for bess + run: | + cd gems/bess + bundle exec rake spec + - run: | bundle config deployment true bundle config path vendor/bundle @@ -71,5 +80,3 @@ jobs: run: bundle exec rubocop - name: run spec run: bin/rails spec - - name: run spec for bess - run: cd gems/bess && rake spec diff --git a/gems/bess/.gitignore b/gems/bess/.gitignore index 35882ed9..35465ae7 100644 --- a/gems/bess/.gitignore +++ b/gems/bess/.gitignore @@ -5,4 +5,4 @@ /tmp/ .byebug_history -Gemfile.lock \ No newline at end of file +Gemfile.lock