This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +25
-22
lines changed
Expand file tree Collapse file tree 10 files changed +25
-22
lines changed Original file line number Diff line number Diff line change 1- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
1+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44name : RSpec CI
@@ -60,11 +60,12 @@ jobs:
6060 - uses : actions/checkout@v2
6161 - uses : ruby/setup-ruby@v1
6262 with :
63- bundler : ${{ matrix.bundler || 2 }}
63+ bundler : ${{ matrix.bundler || '2.2.22' }}
6464 ruby-version : ${{ matrix.ruby }}
6565 - run : script/update_rubygems_and_install_bundler
6666 - run : script/clone_all_rspec_repos
67- - run : bundle install --binstubs --standalone
67+ - run : bundle install --standalone
68+ - run : bundle binstubs --all
6869 - run : script/run_build
6970
7071 legacy :
@@ -125,7 +126,7 @@ jobs:
125126 - uses : actions/checkout@v2
126127 - uses : ruby/setup-ruby@v1
127128 with :
128- bundler : 2
129+ bundler : ' 2.2.22 '
129130 ruby-version : ${{ matrix.ruby }}
130131 bundler-cache : true
131132 - run : cinst ansicon
Original file line number Diff line number Diff line change 1- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
1+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44# This file contains defaults for RSpec projects. Individual projects
Original file line number Diff line number Diff line change 1- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
1+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44# Taken from:
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
2+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
33# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44
55set -e
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
2+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
33# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44
55set -e
Original file line number Diff line number Diff line change 1- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
1+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
@@ -90,6 +90,7 @@ function run_spec_suite_for {
9090 unset BUNDLE_GEMFILE
9191 bundle_install_flags=` cat .github/workflows/ci.yml | grep " bundle install" | sed ' s/.* bundle install//' `
9292 travis_retry eval " (unset RUBYOPT; exec bundle install $bundle_install_flags )"
93+ travis_retry eval " (unset RUBYOPT; exec bundle binstubs --all)"
9394 run_specs_and_record_done
9495 popd
9596 else
@@ -139,10 +140,7 @@ function check_binstubs {
139140 echo " $ bundle binstubs$gems "
140141 echo
141142 echo " # To binstub all gems"
142- echo " $ bundle install --binstubs"
143- echo
144- echo " # To binstub all gems and avoid loading bundler"
145- echo " $ bundle install --binstubs --standalone"
143+ echo " $ bundle binstubs --all"
146144 fi
147145
148146 return $success
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
2+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
33# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44
55set -e
Original file line number Diff line number Diff line change 1- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
1+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44function is_mri {
@@ -129,9 +129,13 @@ function documentation_enforced {
129129}
130130
131131function style_and_lint_enforced {
132- if [ -x ./bin/rubocop ]; then
133- return 0
134- else
132+ if is_ruby_head; then
135133 return 1
134+ else
135+ if [ -x ./bin/rubocop ]; then
136+ return 0
137+ else
138+ return 1
139+ fi
136140 fi
137141}
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
2+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
33# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44
55set -e
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # This file was generated on 2021-04-23T10:26:08 +01:00 from the rspec-dev repo.
2+ # This file was generated on 2021-07-15T12:41:20 +01:00 from the rspec-dev repo.
33# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44
55set -e
66source script/functions.sh
77
88if is_ruby_23_plus; then
9- yes | gem update --system
10- yes | gem install bundler
9+ yes | gem update --system ' 3.2.22 '
10+ yes | gem install bundler -v ' 2.2.22 '
1111else
1212 echo " Warning installing older versions of Rubygems / Bundler"
1313 gem update --system ' 2.7.8'
You can’t perform that action at this time.
0 commit comments