-
Notifications
You must be signed in to change notification settings - Fork 14
34 lines (32 loc) · 875 Bytes
/
Copy pathci.yaml
File metadata and controls
34 lines (32 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: R-CMD-check
on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master, develop]
jobs:
R-CMD-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::devtools
any::remotes
any::lintr
any::covr
any::pkgdown
any::testthat
any::rmarkdown
any::bench
any::vdiffr
- name: Check package
run: Rscript -e 'devtools::check()'
- name: Run lintr
run: Rscript -e 'lintr::lint_dir("R")'
- name: Run tests with coverage
run: Rscript -e 'covr::codecov()'
- name: Build pkgdown site
run: Rscript -e 'pkgdown::build_site()'