-
Notifications
You must be signed in to change notification settings - Fork 17
44 lines (36 loc) · 1.02 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
on:
push:
pull_request:
branches:
- devel
paths-ignore:
- 'README.md'
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-latest
container: plger/scdblfinder:latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Install latest BiocCheck
run: BiocManager::install(c("BiocCheck"))
shell: Rscript {0}
- name: Check
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error", check_dir = "check")
shell: Rscript {0}
- name: BiocCheck
run: BiocCheck::BiocCheck(".")
shell: Rscript {0}
- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
- name: Show testthat output
if: always()
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash