File tree Expand file tree Collapse file tree 4 files changed +10
-46
lines changed Expand file tree Collapse file tree 4 files changed +10
-46
lines changed Original file line number Diff line number Diff line change 8
8
pull_request :
9
9
branches :
10
10
- ' *'
11
+ env :
12
+ RSPEC_CI : true
11
13
jobs :
12
14
test :
13
15
name : Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
21
23
- 2.5
22
24
- 2.4
23
25
- 2.3
24
- - 2.2
25
- - 2.1.9
26
26
- ruby-head
27
27
env :
28
28
-
36
36
os : ubuntu-18.04
37
37
env :
38
38
JRUBY_OPTS : " --dev"
39
- - ruby : 2.7
40
- name_extra : " with diff-lcs 1.3"
41
- env :
42
- DIFF_LCS_VERSION : " ~> 1.3.0"
43
- - ruby : 2.7
44
- name_extra : " with diff-lcs 1.4.3"
45
- env :
46
- DIFF_LCS_VERSION : " 1.4.3"
47
39
fail-fast : false
48
40
continue-on-error : ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
49
41
env : ${{ matrix.env }}
69
61
- 2.5
70
62
- 2.4
71
63
- 2.3
72
- - 2.2
73
- - 2.1.9
74
64
fail-fast : false
75
65
steps :
76
66
- uses : actions/checkout@v2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if is_mri; then
9
9
clone_repo " rspec-core"
10
10
clone_repo " rspec-expectations"
11
11
clone_repo " rspec-mocks"
12
- clone_repo " rspec-rails"
12
+ clone_repo " rspec-rails" " main "
13
13
14
14
if rspec_support_compatible; then
15
15
clone_repo " rspec-support"
Original file line number Diff line number Diff line change 16
16
17
17
function clone_repo {
18
18
if [ ! -d $1 ]; then # don't clone if the dir is already there
19
- travis_retry eval " git clone https://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH "
19
+ if [ -z " $2 " ]; then
20
+ BRANCH_TO_CLONE=" $MAINTENANCE_BRANCH "
21
+ else
22
+ BRANCH_TO_CLONE=" $2 "
23
+ fi
24
+
25
+ travis_retry eval " git clone https://github.com/rspec/$1 --depth 1 --branch $BRANCH_TO_CLONE "
20
26
fi ;
21
27
}
22
28
You can’t perform that action at this time.
0 commit comments