Skip to content

Commit

Permalink
[tmp] gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleam committed Jun 27, 2024
1 parent 2186396 commit 954024d
Show file tree
Hide file tree
Showing 34 changed files with 196 additions and 2,177 deletions.
3 changes: 1 addition & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^.drone.yml$
^.drone.jsonnet$
^\.github$
^README\.Rmd$
^_pkgdown\.yml$
^docs$
Expand Down
299 changes: 0 additions & 299 deletions .drone.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: coverage
on:
push:
branches:
- 'main'
- 'scratch/**'
pull_request:

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install bbi
uses: metrumresearchgroup/actions/setup-bbi@v1
with:
version: v3.3.0
- uses: metrumresearchgroup/actions/mpn-latest@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: release
use-public-rspm: true
extra-repositories: 'https://mpn.metworx.com/snapshots/stable/${{ env.MPN_LATEST }}'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
upgrade: 'TRUE'
- name: Run covr
shell: Rscript {0}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: covr::codecov()
Loading

0 comments on commit 954024d

Please sign in to comment.