Skip to content

Commit f8b7ceb

Browse files
committed
Updated versions of BioC and actions in the CHECK workflow.
Just skip non-Linux builds, it's too much effort. The BBS covers them anyway and we just need the CI to protect against obvious problems.
1 parent a1aede2 commit f8b7ceb

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/check-bioc.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
on:
2424
push:
25+
branch:
26+
- 'devel'
2527
pull_request:
2628

2729
name: R-CMD-check-bioc
@@ -52,9 +54,9 @@ jobs:
5254
fail-fast: false
5355
matrix:
5456
config:
55-
- { os: ubuntu-latest, r: 'devel', bioc: '3.20', cont: "bioconductor/bioconductor_docker:devel-amd64", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
56-
- { os: macOS-latest, r: 'devel', bioc: '3.20'}
57-
- { os: windows-latest, r: 'devel', bioc: '3.20'}
57+
- { os: ubuntu-latest, r: 'devel', bioc: '3.21', cont: "bioconductor/bioconductor_docker:devel" }
58+
#- { os: macOS-latest, r: 'devel', bioc: '3.21'}
59+
#- { os: windows-latest, r: 'devel', bioc: '3.21'}
5860
## Check https://github.com/r-lib/actions/tree/master/examples
5961
## for examples using the http-user-agent
6062
env:
@@ -79,7 +81,7 @@ jobs:
7981
## https://github.com/r-lib/actions/blob/master/examples/check-standard.yaml
8082
## If they update their steps, we will also need to update ours.
8183
- name: Checkout Repository
82-
uses: actions/checkout@v3
84+
uses: actions/checkout@v4
8385

8486
## R is already included in the Bioconductor docker images
8587
- name: Setup R from r-lib
@@ -102,15 +104,15 @@ jobs:
102104

103105
- name: Restore R package cache
104106
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os != 'Linux'"
105-
uses: actions/cache@v3
107+
uses: actions/cache@v4
106108
with:
107109
path: ${{ env.R_LIBS_USER }}
108110
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-devel-${{ hashFiles('.github/depends.Rds') }}
109111
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-devel-
110112

111113
- name: Cache R packages on Linux
112114
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
113-
uses: actions/cache@v3
115+
uses: actions/cache@v4
114116
with:
115117
path: /home/runner/work/_temp/Library
116118
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-devel-${{ hashFiles('.github/depends.Rds') }}
@@ -146,6 +148,9 @@ jobs:
146148
## Required for terra
147149
brew install gdal
148150
151+
## Required for HDF5
152+
brew install openssl
153+
149154
- name: Install Windows system dependencies
150155
if: runner.os == 'Windows'
151156
run: |

0 commit comments

Comments
 (0)