Runs bundle install on bess build
This commit is contained in:
parent
8767ee2757
commit
fc1cee8f94
2 changed files with 10 additions and 3 deletions
11
.github/workflows/ruby.yml
vendored
11
.github/workflows/ruby.yml
vendored
|
@ -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
|
|
||||||
|
|
2
gems/bess/.gitignore
vendored
2
gems/bess/.gitignore
vendored
|
@ -5,4 +5,4 @@
|
||||||
/tmp/
|
/tmp/
|
||||||
.byebug_history
|
.byebug_history
|
||||||
|
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
|
|
Loading…
Reference in a new issue