This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +23
-20
lines changed Expand file tree Collapse file tree 8 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
name : RSpec CI
@@ -50,11 +50,12 @@ jobs:
50
50
- uses : actions/checkout@v2
51
51
- uses : ruby/setup-ruby@v1
52
52
with :
53
- bundler : ${{ matrix.bundler || 2 }}
53
+ bundler : ${{ matrix.bundler || '2.2.22' }}
54
54
ruby-version : ${{ matrix.ruby }}
55
55
- run : script/update_rubygems_and_install_bundler
56
56
- run : script/clone_all_rspec_repos
57
- - run : bundle install --binstubs --standalone
57
+ - run : bundle install --standalone
58
+ - run : bundle binstubs --all
58
59
- run : script/run_build
59
60
60
61
windows :
73
74
- uses : actions/checkout@v2
74
75
- uses : ruby/setup-ruby@v1
75
76
with :
76
- bundler : 2
77
+ bundler : ' 2.2.22 '
77
78
ruby-version : ${{ matrix.ruby }}
78
79
bundler-cache : true
79
80
- run : cinst ansicon
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# 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 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# Taken from:
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
2
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
@@ -139,10 +139,7 @@ function check_binstubs {
139
139
echo " $ bundle binstubs$gems "
140
140
echo
141
141
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"
142
+ echo " $ bundle binstubs --all"
146
143
fi
147
144
148
145
return $success
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
function is_mri {
@@ -129,9 +129,13 @@ function documentation_enforced {
129
129
}
130
130
131
131
function style_and_lint_enforced {
132
- if [ -x ./bin/rubocop ]; then
133
- return 0
134
- else
132
+ if is_ruby_head; then
135
133
return 1
134
+ else
135
+ if [ -x ./bin/rubocop ]; then
136
+ return 0
137
+ else
138
+ return 1
139
+ fi
136
140
fi
137
141
}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
2
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
30
30
31
31
if supports_cross_build_checks; then
32
32
fold " one-by-one specs" run_specs_one_by_one
33
+ export NO_COVERAGE=true
33
34
run_all_spec_suites
34
35
else
35
36
echo " Skipping the rest of the build on non-MRI rubies"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-31T00:51:11+03 :00 from the rspec-dev repo.
2
+ # This file was generated on 2021-07-13T11:08:51+01 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
6
6
source script/functions.sh
7
7
8
8
if 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 '
11
11
else
12
12
echo " Warning installing older versions of Rubygems / Bundler"
13
13
gem update --system ' 2.7.8'
You can’t perform that action at this time.
0 commit comments