Code coverage was added to the CI some time ago. Up until now, a part of the result was printed at the end of the rspec test jobs, accessible via the individual job logs, barely usable. This commit introduces deploying the HTML result and making it accessible via a dedicated page, allowing to search within and filter the data, in a much more convenient and appealing way. While I'm not hunting for 100 percent code coverage, I think having at least a better insight into this topic is quite valuable. I hope this leads to a better understanding of our test suite, possibly identifying weak points (which then can be improved) and in the end to a better code base.
Due to the introduced artifacts to store the code coverage report, and to "hand it over" from one stage to the next, these artifacts are now downloaded as well before the codespell job. This lead to false positives, spelling errors within this directory, we're not really interested in. Therefore, ignore this directory if running codespell.
Showing with 44 additions and 9 deletions
|...||...||@@ -44,7 +44,8 @@ Gem::Specification.new do |s||
|s.add_development_dependency 'hirb', '~> 0'|
|s.add_development_dependency 'factory_bot', '~> 5.0'|
|s.add_development_dependency 'database_cleaner', '~> 1'|
|s.add_development_dependency 'simplecov-console', '~> 0'|
|s.add_development_dependency 'simplecov', '~> 0'|
|s.add_development_dependency 'simplecov-html', '~> 0'|
|s.add_development_dependency 'rack-test', '~> 1'|
|s.add_development_dependency 'rubocop', '~> 0'|
|s.add_development_dependency 'byebug', '~> 10'|