mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
Update spec_helper.rb
This commit is contained in:
parent
75b66bec6a
commit
bbfa8bd47b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ end
|
||||||
|
|
||||||
# On CI we publish coverage to codecov.io
|
# On CI we publish coverage to codecov.io
|
||||||
# To use the codecov action, we need to generate XML based coverage report
|
# To use the codecov action, we need to generate XML based coverage report
|
||||||
if ENV["CI"] == "true"
|
if ENV.fetch("CI", nil) == "true"
|
||||||
begin
|
begin
|
||||||
require "simplecov-cobertura"
|
require "simplecov-cobertura"
|
||||||
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
|
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
|
||||||
|
|
Loading…
Reference in a new issue