This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +57
-12
lines changed Expand file tree Collapse file tree 11 files changed +57
-12
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-02T12:38:45+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
67
67
- run : bundle install --binstubs --standalone
68
68
- run : script/run_build
69
69
70
+ legacy :
71
+ name : Legacy Ruby Builds (${{ matrix.container.version }})
72
+ runs-on : ubuntu-20.04
73
+ container : ${{ matrix.container.tag }}
74
+ strategy :
75
+ fail-fast : false
76
+ matrix :
77
+ container :
78
+ - version : " 2.0"
79
+ tag : rspec/ci:2.0.0
80
+ - version : " 1.9.3"
81
+ tag : rspec/ci:1.9.3
82
+ env :
83
+ LEGACY_CI : true
84
+ steps :
85
+ - uses : actions/checkout@v2
86
+ - run : script/legacy_setup.sh
87
+ - run : bundle exec bin/rspec
88
+ - run : bundle exec script/cucumber.sh
89
+
70
90
windows :
71
91
name : Ruby ${{ matrix.ruby }} (Windows)
72
92
runs-on : windows-latest
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-02T12:38:45+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 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-02T12:38:45+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.
@@ -17,8 +17,6 @@ script: "script/run_build"
17
17
rvm :
18
18
- 1.8.7
19
19
- 1.9.2
20
- - 1.9.3
21
- - 2.0.0
22
20
- ree
23
21
- jruby-1.7
24
22
env :
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-02T12:38:45+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 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-02T12:38:45+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
+ #! /bin/bash
2
+ # This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
3
+ # DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
+
5
+ set -e
6
+ source script/functions.sh
7
+
8
+ run_cukes
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-02T12:38:45+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
+ #! /bin/bash
2
+ # This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
3
+ # DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
+
5
+ set -e
6
+ source script/functions.sh
7
+
8
+ bundle install --standalone --binstubs
9
+
10
+ if [ -x ./bin/rspec ]; then
11
+ echo " RSpec bin detected"
12
+ else
13
+ if [ -x ./exe/rspec ]; then
14
+ cp ./exe/rspec ./bin/rspec
15
+ echo " RSpec restored from exe"
16
+ else
17
+ echo " No RSpec bin available"
18
+ exit 1
19
+ fi
20
+ fi
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-02T12:38:45+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 2020-12-31T00:41:35+03 :00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-02T12:38:45+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
34
33
run_all_spec_suites
35
34
else
36
35
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:41:35+03 :00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-02T12:38:45+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