Skip to content

Merge branch 'master' of https://github.com/ModelOriented/treeshap #142

Merge branch 'master' of https://github.com/ModelOriented/treeshap

Merge branch 'master' of https://github.com/ModelOriented/treeshap #142

on:
push:
branches:
- master
- 'issue*'
- 'gh-actions'
- 'githubactions'
pull_request:
branches:
- master
name: test-coverage
jobs:
test-coverage:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
shell: Rscript {0}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
needs: coverage
- name: Test coverage
run: covr::codecov(quiet = FALSE)
shell: Rscript {0}