summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2021-07-09 23:16:23 +0300
committerGitHub <noreply@github.com>2021-07-09 23:16:23 +0300
commit1c59ceed1ddbc494ab7c3a0e94adeaba5d0cd8e7 (patch)
tree7cd402d46d9e862416824b0721be0443cbea8464
parent7a2284f8a74bca3489e780769325c2b44619991b (diff)
parent9732805a744497bbea62932ee05bc350a0816b8a (diff)
downloadpry-1c59ceed1ddbc494ab7c3a0e94adeaba5d0cd8e7.tar.gz
Merge pull request #2212 from pry/build-fix
Fix failing build on Ruby 2.4 & 2.5
-rw-r--r--.github/workflows/test.yml17
-rw-r--r--Gemfile1
-rw-r--r--spec/spec_helper.rb5
3 files changed, 15 insertions, 8 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4dd7ba79..e3a6abda 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -7,8 +7,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
- # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
- ruby: [2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, '3.0', head, jruby, jruby-head]
+ ruby:
+ - 2.0
+ - 2.1
+ - 2.2
+ - 2.3
+ - 2.4
+ - 2.5
+ - 2.6
+ - 2.7
+ # Due to https://github.com/actions/runner/issues/849,
+ # we have to use quotes for '3.0'
+ - '3.0'
+ - head
+ - jruby
+ - jruby-head
runs-on: ${{ matrix.os }}
diff --git a/Gemfile b/Gemfile
index 9a578d37..415e4a7d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -6,7 +6,6 @@ gemspec
gem 'rake'
gem 'yard'
gem 'rspec'
-gem 'simplecov', '~> 0.16', require: false
# Rubocop supports only >=2.2.0
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.0')
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index d3335bec..0e28394c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,10 +1,5 @@
# frozen_string_literal: true
-if ENV['COVERAGE']
- require 'simplecov'
- SimpleCov.start
-end
-
require 'pry'
require 'rspec'