Runs bundle install on bess build

This commit is contained in:
Clarissa Borges 2021-03-06 19:10:31 -03:00 committed by Eric Schultz
parent 8767ee2757
commit fc1cee8f94
2 changed files with 10 additions and 3 deletions

View file

@ -62,6 +62,15 @@ jobs:
key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }} key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: | restore-keys: |
bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}- 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: | - run: |
bundle config deployment true bundle config deployment true
bundle config path vendor/bundle bundle config path vendor/bundle
@ -71,5 +80,3 @@ jobs:
run: bundle exec rubocop run: bundle exec rubocop
- name: run spec - name: run spec
run: bin/rails spec run: bin/rails spec
- name: run spec for bess
run: cd gems/bess && rake spec