Skip to content

Commit

Permalink
Tidied workflow YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
smped committed Feb 8, 2024
1 parent dd24b95 commit ecb60fa
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ env:
has_testthat: 'true'
run_covr: 'true'
run_pkgdown: 'true'
run_BiocCheck: 'true'
cache-version: 'cache-v3'
run_docker: 'false'

Expand All @@ -53,8 +54,8 @@ jobs:
config:
- { os: ubuntu-latest, r: 'next', bioc: 'devel', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
## Dockers for macOS and Windows can't handle r: 'next' at this stage
- { os: macOS-latest, r: '4.3', bioc: '3.18'}
- { os: windows-latest, r: '4.3', bioc: '3.18'}
- { os: macOS-latest, r: 'next', bioc: 'devel'}
- { os: windows-latest, r: 'next', bioc: 'devel'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
Expand Down Expand Up @@ -181,13 +182,6 @@ jobs:
BiocManager::install("BiocCheck")
shell: Rscript {0}

- name: Install BiocGenerics
if: env.has_RUnit == 'true'
run: |
## Install BiocGenerics
BiocManager::install("BiocGenerics")
shell: Rscript {0}

- name: Install covr
if: github.ref == 'refs/heads/gh-actions' && env.run_covr == 'true' && runner.os == 'Linux'
run: |
Expand Down

0 comments on commit ecb60fa

Please sign in to comment.