Skip to content

Commit e47e7bc

Browse files
committed
* Update CI to test again RSpec 3.11, ruby 3.0 & 3.1, no longer test ruby < 2.7
1 parent 2655364 commit e47e7bc

15 files changed

+19
-15
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
ruby:
2727
- 2.7
2828
gemfile:
29-
- gemfiles/rspec_3_10.gemfile
29+
- gemfiles/rspec_3_11.gemfile
3030
env:
3131
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
3232
COVERALLS: true

.github/workflows/tests.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ jobs:
2424
os:
2525
- ubuntu
2626
ruby:
27-
- 2.5
28-
- 2.6
2927
- 2.7
28+
- 3.0
3029
gemfile:
3130
- gemfiles/rspec_3_0.gemfile
3231
- gemfiles/rspec_3_1.gemfile
@@ -39,12 +38,17 @@ jobs:
3938
- gemfiles/rspec_3_8.gemfile
4039
- gemfiles/rspec_3_9.gemfile
4140
- gemfiles/rspec_3_10.gemfile
41+
- gemfiles/rspec_3_11.gemfile
4242
allow_failures:
4343
- false
4444
include:
45+
- os: ubuntu
46+
ruby: 3.1
47+
gemfile: gemfiles/rspec_3_11.gemfile
48+
allow_failures: true
4549
- os: ubuntu
4650
ruby: ruby-head
47-
gemfile: gemfiles/rspec_3_10.gemfile
51+
gemfile: gemfiles/rspec_3_11.gemfile
4852
allow_failures: true
4953
env:
5054
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"

Appraisals

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ end
5050
appraise "rspec_3_10" do
5151
gem "rspec", "~> 3.10.0"
5252
end
53+
54+
appraise "rspec_3_11" do
55+
gem "rspec", "~> 3.10.0"
56+
end

gemfiles/rspec_3_0.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "codecov", require: false, group: :test
65
gem "rspec", "~> 3.0.0"
76
gem "rake", "< 12"
87

gemfiles/rspec_3_1.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "codecov", require: false, group: :test
65
gem "rspec", "~> 3.1.0"
76
gem "rake", "< 12"
87

gemfiles/rspec_3_10.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "codecov", require: false, group: :test
65
gem "rspec", "~> 3.10.0"
76

87
gemspec path: "../"

gemfiles/rspec_3_11.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rspec", "~> 3.10.0"
6+
7+
gemspec path: "../"

gemfiles/rspec_3_2.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "codecov", require: false, group: :test
65
gem "rspec", "~> 3.2.0"
76
gem "rake", "< 12"
87

gemfiles/rspec_3_3.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "codecov", require: false, group: :test
65
gem "rspec", "~> 3.3.0"
76
gem "rake", "< 12"
87

gemfiles/rspec_3_4.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "codecov", require: false, group: :test
65
gem "rspec", "~> 3.4.0"
76

87
gemspec path: "../"

0 commit comments

Comments
 (0)