Skip to content

Commit b8a1580

Browse files
committed
Update GHA for bioc 3.20
1 parent fff2ebd commit b8a1580

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/check-bioc.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
fail-fast: false
5353
matrix:
5454
config:
55-
- { os: ubuntu-latest, r: '4.3', bioc: '3.17', cont: "bioconductor/bioconductor_docker:RELEASE_3_17", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
56-
- { os: macOS-latest, r: '4.3', bioc: '3.17'}
57-
- { os: windows-latest, r: '4.3', bioc: '3.17'}
55+
- { os: ubuntu-latest, r: '4.4', bioc: '3.20', cont: "bioconductor/bioconductor_docker:RELEASE_3_20", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
56+
- { os: macOS-latest, r: '4.4', bioc: '3.20'}
57+
- { os: windows-latest, r: '4.4', bioc: '3.20'}
5858
## Check https://github.com/r-lib/actions/tree/master/examples
5959
## for examples using the http-user-agent
6060
env:
@@ -105,23 +105,23 @@ jobs:
105105
uses: actions/cache@v3
106106
with:
107107
path: ${{ env.R_LIBS_USER }}
108-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17-r-4.3-${{ hashFiles('.github/depends.Rds') }}
109-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17-r-4.3-
108+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_20-r-4.4-${{ hashFiles('.github/depends.Rds') }}
109+
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_20-r-4.4-
110110

111111
- name: Cache R packages on Linux
112112
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
113113
uses: actions/cache@v3
114114
with:
115115
path: /home/runner/work/_temp/Library
116-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17-r-4.3-${{ hashFiles('.github/depends.Rds') }}
117-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17-r-4.3-
116+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_20-r-4.4-${{ hashFiles('.github/depends.Rds') }}
117+
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_20-r-4.4-
118118

119-
- name: Install Linux system dependencies
120-
if: runner.os == 'Linux'
121-
run: |
122-
sysreqs=$(Rscript -e 'cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "20.04")), collapse = " "))')
123-
echo $sysreqs
124-
sudo -s eval "$sysreqs"
119+
# - name: Install Linux system dependencies
120+
# if: runner.os == 'Linux'
121+
# run: |
122+
# sysreqs=$(Rscript -e 'cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "20.04")), collapse = " "))')
123+
# echo $sysreqs
124+
# sudo -s eval "$sysreqs"
125125

126126
- name: Install macOS system dependencies
127127
if: matrix.config.os == 'macOS-latest'
@@ -252,7 +252,7 @@ jobs:
252252
- name: Test coverage
253253
if: github.ref == 'refs/heads/devel' && env.run_covr == 'true' && runner.os == 'Linux'
254254
run: |
255-
covr::codecov()
255+
covr::codecov(coverage = covr::package_coverage(type = "all"))
256256
shell: Rscript {0}
257257

258258
- name: Install package
@@ -285,7 +285,7 @@ jobs:
285285
if: failure()
286286
uses: actions/upload-artifact@master
287287
with:
288-
name: ${{ runner.os }}-biocversion-RELEASE_3_17-r-4.3-results
288+
name: ${{ runner.os }}-biocversion-RELEASE_3_20-r-4.4-results
289289
path: check
290290

291291

0 commit comments

Comments
 (0)