Skip to content

Commit eb28972

Browse files
committed
Change coverage output format to json
1 parent b882f76 commit eb28972

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

spec/spec_helper.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
if ENV["CI"]
22
require "simplecov"
3-
SimpleCov.start
3+
require "simplecov_json_formatter"
4+
SimpleCov.start do
5+
SimpleCov.formatters = [
6+
SimpleCov::Formatter::JSONFormatter,
7+
SimpleCov::Formatter::HTMLFormatter
8+
]
9+
10+
add_filter "/spec/"
11+
end
412
end
513

614
require "qiita-markdown"

0 commit comments

Comments
 (0)