Skip to content

Commit 60776de

Browse files
committed
Add code coverage
1 parent a56cda9 commit 60776de

File tree

5 files changed

+8
-1
lines changed

5 files changed

+8
-1
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
^README-.*\.png$
55
^\.travis\.yml$
66
^docs/
7+
^codecov\.yml$

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
language: R
44
sudo: false
55
cache: packages
6+
7+
after_success:
8+
- Rscript -e 'covr::codecov()'

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Imports: rmarkdown,
2323
purrr
2424
Suggests:
2525
testthat,
26-
knitr
26+
knitr,
27+
covr
2728
VignetteBuilder: knitr
2829
RoxygenNote: 6.0.1

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Package-License](http://img.shields.io/badge/license-GPL%20(%3E=2)-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html)
66
[![CRAN](http://www.r-pkg.org/badges/version/assignr)](https://cran.r-project.org/package=assignr)
77
[![Downloads](http://cranlogs.r-pkg.org/badges/assignr?color=brightgreen)](http://www.r-pkg.org/pkg/assignr)
8+
[![Coverage Status](https://img.shields.io/codecov/c/github/coatless/assigner/master.svg)](https://codecov.io/github/coatless/assigner?branch=master)
89

910
Tools for creating homework assignments and solutions using [_RMarkdown_](http://rmarkdown.rstudio.com/).
1011

codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
comment: false

0 commit comments

Comments
 (0)