blob: 3c0da1c97c2bb6a528de439850a1a3901bf3ab8e [file] [log] [blame]
christophe dervieux76d730d2021-09-15 15:02:02 +02001# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3on:
4 push:
5 branches: [main, master]
6 pull_request:
7 branches: [main, master]
8
9name: test-coverage
10
11jobs:
12 test-coverage:
13 runs-on: ubuntu-latest
14 env:
15 GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
16
17 steps:
18 - uses: actions/checkout@v2
19
20 - uses: r-lib/actions/setup-r@v1
21 with:
22 use-public-rspm: true
23
24 - uses: r-lib/actions/setup-r-dependencies@v1
25 with:
26 extra-packages: covr
27
28 - name: Test coverage
29 run: covr::codecov()
30 shell: Rscript {0}