-
Notifications
You must be signed in to change notification settings - Fork 12
33 lines (25 loc) · 868 Bytes
/
revdep-check.yaml
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
on: push
name: revdep
jobs:
revdep:
runs-on: ubuntu-22.04
if: startsWith(github.event.head_commit.message, 'REVDEPCHECK')
name: ubuntu-22.04 (release)
strategy:
fail-fast: false
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
r-version: release
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
- name: Revdepcheck
run: Rscript -e "install.packages('remotes')" -e "remotes::install_github('r-lib/revdepcheck')" -e "revdepcheck::revdep_reset()" -e "revdepcheck::revdep_check(num_workers=4)"
- name: Upload revdepcheck results
uses: actions/upload-artifact@v3
with:
name: ubuntu-22-04-r-release-results
path: revdep/*.md