allow caching in gen_results. speed up examples #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rworkflows | |
'on': | |
push: | |
branches: | |
- master | |
- main | |
- devel | |
- RELEASE_** | |
pull_request: | |
branches: | |
- master | |
- main | |
- devel | |
- RELEASE_** | |
jobs: | |
rworkflows: | |
permissions: write-all | |
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: ghcr.io/bioconductor/bioconductor_docker:devel | |
rspm: ~ | |
- os: macOS-latest | |
bioc: release | |
r: auto | |
cont: ~ | |
rspm: ~ | |
- os: windows-latest | |
bioc: release | |
r: auto | |
cont: ~ | |
rspm: ~ | |
steps: | |
- uses: neurogenomics/rworkflows@master | |
with: | |
run_bioccheck: ${{ false }} | |
run_rcmdcheck: ${{ true }} | |
as_cran: ${{ true }} | |
run_vignettes: ${{ true }} | |
has_testthat: ${{ true }} | |
run_covr: ${{ true }} | |
run_pkgdown: ${{ true }} | |
has_runit: ${{ false }} | |
has_latex: ${{ false }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run_docker: ${{ true }} | |
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
runner_os: ${{ runner.os }} | |
cache_version: cache-v1 |