Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codecov coverage reports #1250

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ group :test do
gem 'minitest'
gem 'rr', require: false
gem 'rack-test', require: false
gem 'simplecov', require: false
gem 'codecov', require: false
end

if ENV['SELENIUM'] == '1'
Expand Down
13 changes: 13 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,18 @@ GEM
rack (>= 0.9.0)
browser (2.6.1)
chunky_png (1.3.11)
codecov (0.1.17)
json
simplecov
url
coderay (1.1.2)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.5)
daemons (1.3.1)
docile (1.3.2)
erubi (1.9.0)
ethon (0.12.0)
ffi (>= 1.3.0)
Expand All @@ -45,6 +50,7 @@ GEM
image_optim (~> 0.19)
image_size (2.0.2)
in_threads (1.5.3)
json (2.3.0)
method_source (0.9.2)
mini_portile2 (2.4.0)
minitest (5.12.2)
Expand Down Expand Up @@ -80,6 +86,10 @@ GEM
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
simplecov (0.18.5)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov-html (0.12.2)
sinatra (2.0.7)
mustermann (~> 1.0)
rack (~> 2.0)
Expand Down Expand Up @@ -128,6 +138,7 @@ GEM
unicode-display_width (1.6.0)
unicode_utils (1.4.0)
unix_utils (0.0.15)
url (0.3.2)
yajl-ruby (1.4.1)

PLATFORMS
Expand All @@ -138,6 +149,7 @@ DEPENDENCIES
better_errors
browser
chunky_png
codecov
coffee-script
erubi
html-pipeline
Expand All @@ -155,6 +167,7 @@ DEPENDENCIES
rake
rr
sass
simplecov
sinatra
sinatra-contrib
sprockets
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [DevDocs](https://devdocs.io) — API Documentation Browser [![Build Status](https://travis-ci.org/freeCodeCamp/devdocs.svg?branch=master)](https://travis-ci.org/freeCodeCamp/devdocs)
# [DevDocs](https://devdocs.io) — API Documentation Browser [![Build Status](https://travis-ci.org/freeCodeCamp/devdocs.svg?branch=master)](https://travis-ci.org/freeCodeCamp/devdocs) [![Codecov](https://codecov.io/gh/freeCodeCamp/devdocs/branch/master/graph/badge.svg)](https://codecov.io/gh/freeCodeCamp/devdocs)

DevDocs combines multiple developer documentations in a clean and organized web UI with instant search, offline support, mobile version, dark theme, keyboard shortcuts, and more.

Expand Down
6 changes: 6 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
require 'simplecov'
SimpleCov.start

require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov

ENV['RACK_ENV'] = 'test'

require 'bundler/setup'
Expand Down