tests: upload test coverage reports to code climate.

Downgrade simplecov to 0.17 because 0.18 is incompatible with code
climate. Ref: github.com codeclimate/test-reporter/issues/413
This commit is contained in:
evazion
2020-06-11 15:17:32 -05:00
parent 8181ee6a1d
commit 025e09ff7f
5 changed files with 30 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
SimpleCov.start "rails" do
add_group "Libraries", ["app/logical", "lib"]
add_group "Presenters", "app/presenters"
enable_coverage :branch
minimum_coverage line: 85, branch: 75
minimum_coverage_by_file 50
coverage_dir "tmp/coverage"
#enable_coverage :branch
#minimum_coverage line: 85, branch: 75
#minimum_coverage_by_file 50
#coverage_dir "tmp/coverage"
end