mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-03 00:01:21 -04:00
Do not run Coveralls if secret token is not available (#1137)
This commit is contained in:
parent
2dec63e6b0
commit
46eca72f79
@ -3,7 +3,7 @@
|
||||
# Report test coverage to coveralls for only one Ruby version to avoid
|
||||
# repeated builds. This also accounts for coveralls_reborn requiring
|
||||
# RUBY_VERSION >= 2.5.
|
||||
if RUBY_VERSION.start_with?("3.1.")
|
||||
if ENV.key?("COVERALLS_REPO_TOKEN") && RUBY_VERSION.start_with?("3.1.")
|
||||
require "coveralls"
|
||||
Coveralls.wear!
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user