Skip to content
Snippets Groups Projects
Verified Commit d1c81d74 authored by georg's avatar georg
Browse files

CI: Provide code coverage report as HTML to make it easier to use

parent d81e0996
Branches
No related tags found
No related merge requests found
......@@ -37,6 +37,11 @@ cache:
- rm /dev/random && ln -s /dev/urandom /dev/random
- SCHLEUDER_ENV=test SCHLEUDER_CONFIG=spec/schleuder.yml eatmydata bundle exec rake db:init
- eatmydata bundle exec rspec
artifacts:
paths:
- coverage
expire_in: 4 weeks
when: always
codespell:
image: debian:unstable
......
......@@ -9,9 +9,6 @@ end
# Check env if we want to run code coverage analysis
if ENV['CHECK_CODE_COVERAGE'] != 'false'
require 'simplecov'
require 'simplecov-console'
SimpleCov::Formatter::Console.table_options = {max_width: 400}
SimpleCov.formatter = SimpleCov::Formatter::Console
SimpleCov.start do
add_filter %r{^/vendor/}
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment