Skip to content

Commit

Permalink
Include test coverage in CI workflow (#14).
Browse files Browse the repository at this point in the history
* Same setup as for the former Travis CI.
  • Loading branch information
riccardoporreca committed Jan 25, 2021
1 parent 2239353 commit 6a0e4d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,10 @@ jobs:
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check

- name: Test coverage
if: success() && runner.os == 'Linux' && matrix.config.r == 'release'
run: |
remotes::install_cran("covr")
covr::codecov(type = "all")
shell: Rscript {0}

0 comments on commit 6a0e4d2

Please sign in to comment.