This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +34
-20
lines changed Expand file tree Collapse file tree 12 files changed +34
-20
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:43 +00: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
70
70
legacy :
71
71
name : Legacy Ruby Builds (${{ matrix.container.version }})
72
72
runs-on : ubuntu-20.04
73
- container : ${{ matrix.container.tag }}
73
+ container :
74
+ image : ${{ matrix.container.tag }}
75
+ options : ${{ matrix.container.options || '--add-host github-complains-if-this-is-empty.com:127.0.0.1' }}
74
76
strategy :
75
77
fail-fast : false
76
78
matrix :
@@ -79,13 +81,25 @@ jobs:
79
81
tag : rspec/ci:2.0.0
80
82
- version : " 1.9.3"
81
83
tag : rspec/ci:1.9.3
84
+ - version : " 1.9.2"
85
+ tag : rspec/ci:1.9.2
86
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
87
+ - version : " REE"
88
+ tag : rspec/ci:ree
89
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
82
90
- version : " JRuby 1.7"
83
91
tag : rspec/ci:jruby-1.7
92
+ - version : " JRuby 1.7 1.8 mode"
93
+ tag : rspec/ci:jruby-1.7
94
+ jruby_opts : ' --dev --1.8'
95
+ pre : gem uninstall jruby-openssl
96
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
84
97
env :
85
98
LEGACY_CI : true
86
99
JRUBY_OPTS : ${{ matrix.container.jruby_opts || '--dev' }}
87
100
steps :
88
101
- uses : actions/checkout@v2
102
+ - run : ${{ matrix.container.pre }}
89
103
- run : script/legacy_setup.sh
90
104
- run : bundle exec bin/rspec
91
105
- run : bundle exec script/cucumber.sh
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:43 +00: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 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:43 +00: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
# In order to install old Rubies, we need to use old Ubuntu distibution.
@@ -16,12 +16,7 @@ bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
16
16
script : " script/run_build"
17
17
rvm :
18
18
- 1.8.7
19
- - 1.9.2
20
- - ree
21
19
matrix :
22
- include :
23
- - rvm : jruby-1.7
24
- env : JRUBY_OPTS='--dev --1.8'
25
20
fast_finish : true
26
21
branches :
27
22
only :
Original file line number Diff line number Diff line change 29
29
30
30
if RUBY_VERSION < '2.3.0' && !!( RbConfig ::CONFIG [ 'host_os' ] =~ /cygwin|mswin|mingw|bccwin|wince|emx/ )
31
31
gem "childprocess" , "< 1.0.0"
32
+ elsif RUBY_VERSION < '2.0.0'
33
+ gem "childprocess" , "< 1.0.0"
32
34
elsif RUBY_VERSION < '2.3.0'
33
35
gem "childprocess" , "< 3.0.0"
34
36
else
35
37
gem "childprocess" , ">= 3.0.0"
36
38
end
37
39
38
- ### dep for ci/coverage
39
- gem 'simplecov' , '~> 0.8'
40
+ group :coverage do
41
+ ### dep for ci/coverage
42
+ gem 'simplecov' , '~> 0.8'
43
+ end
40
44
41
45
if RUBY_VERSION < '2.0.0' || RUBY_ENGINE == 'java'
42
46
gem 'json' , '< 2.0.0' # is a dependency of simplecov
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:43 +00: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 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:43 +00: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
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:43 +00: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 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:43 +00: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 ) "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:43 +00: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
- bundle install --standalone --binstubs
8
+ bundle install --standalone --binstubs --without coverage documentation
9
9
10
10
if [ -x ./bin/rspec ]; then
11
11
echo " RSpec bin detected"
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:43 +00: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 {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:43 +00: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 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:43 +00: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
You can’t perform that action at this time.
0 commit comments