Skip to content

Commit

Permalink
feature: add code coverage to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DyfanJones authored Oct 7, 2021
2 parents ab2506a + 769d2cb commit 2e1d7d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: rcmdcheck

extra-packages: |
rcmdcheck
covr
- uses: r-lib/actions/check-r-package@v1

- name: Show testthat output
Expand All @@ -45,3 +47,7 @@ jobs:
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check

- name: Test coverage
run: covr::codecov()
shell: Rscript {0}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.re
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version-ago/noctua)](https://CRAN.R-project.org/package=noctua)
![downloads](https://cranlogs.r-pkg.org/badges/noctua)
[![Codecov test coverage](https://codecov.io/gh/DyfanJones/noctua/branch/master/graph/badge.svg)](https://codecov.io/gh/DyfanJones/noctua?branch=master)
[![R build status](https://github.com/dyfanjones/noctua/workflows/R-CMD-check/badge.svg)](https://github.com/dyfanjones/noctua/actions)

The goal of the `noctua` package is to provide a DBI-compliant interface
to Amazon’s Athena (<https://aws.amazon.com/athena/>) using [`paws`](https://github.com/paws-r/paws) SDK.
Expand Down

0 comments on commit 2e1d7d9

Please sign in to comment.