Skip to content
Permalink
Browse files

Add coverage report

  • Loading branch information...
mikker committed Jan 2, 2018
1 parent fd128a1 commit e606c12c6d216c3e4a027a6fa05a73406f0bda91
Showing with 12 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +2 −0 Gemfile
  3. +1 −1 README.md
  4. +8 −0 test/test_helper.rb
@@ -9,3 +9,4 @@ Gemfile.lock
.projections.json
.yardoc
doc
coverage
@@ -3,3 +3,5 @@
source 'https://rubygems.org'

gemspec

gem 'codecov', require: false, group: :test
@@ -4,7 +4,7 @@
<br />
</p>

<img src='https://travis-ci.org/mikker/passwordless.svg?branch=master' alt='Build status' /> <img src='https://img.shields.io/gem/v/passwordless.svg' alt='Gem version' />
![Travis](https://travis-ci.org/mikker/passwordless.svg?branch=master) ![Rubygems](https://img.shields.io/gem/v/passwordless.svg)

Add authentication to your Rails app without all the icky-ness of passwords.

@@ -1,5 +1,13 @@
# frozen_string_literal: true

require 'simplecov'
SimpleCov.start

if ENV['CI']
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end

require File.expand_path('../../test/dummy/config/environment.rb', __FILE__)
ActiveRecord::Migrator.migrations_paths =
[File.expand_path('../../test/dummy/db/migrate', __FILE__)]

0 comments on commit e606c12

Please sign in to comment.
You can’t perform that action at this time.