Skip to content

Commit 005b1c3

Browse files
committed
Fix branch names, clean up GHA
1 parent a52ae42 commit 005b1c3

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
pull_request:
55
branches:
6-
- master
6+
- devel
77

88
name: R-CMD-check
99

@@ -49,11 +49,6 @@ jobs:
4949
install.packages('remotes')
5050
shell: Rscript {0}
5151

52-
#- name: Install Matrix.utils (from CRAN archive)
53-
# run: |
54-
# remotes::install_version("Matrix.utils", version = "0.9.8", repos = "http://cran.us.r-project.org")
55-
# shell: Rscript {0}
56-
5752
- name: Query dependencies
5853
run: |
5954
saveRDS(remotes::dev_package_deps(dependencies = TRUE, repos = c(getOption('repos'), BiocManager::repositories())), 'depends.Rds', version = 2)
@@ -102,11 +97,11 @@ jobs:
10297
id: build-install-check
10398
uses: grimbough/bioc-actions/build-install-check@v1
10499

105-
# - name: Run BiocCheck
106-
# uses: grimbough/bioc-actions/run-BiocCheck@v1
107-
# with:
108-
# arguments: '--no-check-bioc-views --no-check-bioc-help'
109-
# error-on: 'error'
100+
- name: Run BiocCheck
101+
uses: grimbough/bioc-actions/run-BiocCheck@v1
102+
with:
103+
arguments: '--no-check-bioc-views --no-check-bioc-help'
104+
error-on: 'error'
110105

111106
- name: Upload install log if the build/install/check step fails
112107
if: always() && (steps.build-install-check.outcome == 'failure')
@@ -124,7 +119,7 @@ jobs:
124119
shell: Rscript {0}
125120

126121
- name: Deploy
127-
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.config.os == 'macOS-latest'
122+
if: github.event_name == 'push' && github.ref == 'refs/heads/devel' && matrix.config.os == 'macOS-latest'
128123
run: |
129124
R CMD INSTALL .
130125
Rscript -e "remotes::install_dev('pkgdown'); pkgdown::deploy_to_branch(new_process = FALSE)"

0 commit comments

Comments
 (0)