Skip to content

Commit

Permalink
Start coverage only on ruby 3.2. versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aglushkov committed Oct 23, 2023
1 parent 406cc27 commit 311bd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

if RUBY_ENGINE == "ruby" && (ARGV.none? || ARGV == ["spec"] || ARGV == ["spec/"])
if RUBY_ENGINE == "ruby" && RUBY_VERSION.start_with?("3.2.") && (ARGV.none? || ARGV == ["spec"] || ARGV == ["spec/"])
begin
require "simplecov"

Expand Down

0 comments on commit 311bd2f

Please sign in to comment.