tests: fix test coverage reporting for parallel testing.

* Fix simplecov clobbering test coverage reports when using parallel tests.
* Generate coverage reports by default (remove $SIMPLECOV flag).
* Store coverage reports in tmp/coverage/ instead of coverage/.
* Enable branch coverage.

ref: github.com /colszowka/simplecov/issues/718#issuecomment-538201587
This commit is contained in:
evazion
2020-06-11 02:16:20 -05:00
parent 99a9149fc4
commit a829fbfb8d
3 changed files with 14 additions and 10 deletions

1
.gitignore vendored
View File

@@ -7,7 +7,6 @@ config/database.yml
config/danbooru_local_config.rb
config/deploy/*.rb
config/newrelic.yml
coverage/
node_modules/
log/
tmp/