-
Notifications
You must be signed in to change notification settings - Fork 3
56 lines (56 loc) · 1.54 KB
/
rworkflows.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
name: Continuous Integration / R Workflows
on:
workflow_dispatch:
push:
branches-ignore:
- master
- main
- RELEASE_**
pull_request:
branches:
- master
- main
- RELEASE_**
jobs:
rworkflows:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
container: ${{ matrix.config.cont }}
strategy:
fail-fast: ${{ false }}
matrix:
config:
- os: ubuntu-latest
bioc: devel
r: auto
cont: bioconductor/bioconductor_docker:devel
rspm: https://packagemanager.rstudio.com/cran/__linux__/focal/release
- os: macOS-latest
bioc: devel
r: auto
- os: windows-latest
bioc: devel
r: auto
steps:
- if: ${{ env.ACT }}
name: Hack container for local development
run: |
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y nodejs qpdf rsync build-essential
shell: bash {0}
- uses: neurogenomics/rworkflows@master
with:
run_bioccheck: ${{ true }}
run_rcmdcheck: ${{ true }}
as_cran: ${{ true }}
run_vignettes: ${{ true }}
has_testthat: ${{ true }}
run_covr: ${{ false }}
run_pkgdown: ${{ false }}
has_runit: ${{ false }}
has_latex: ${{ false }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run_docker: ${{ false }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
runner_os: ${{ runner.os }}
cache_version: cache-v1