Skip to content

Commit 39b6fe9

Browse files
GHA: Test revdep pkgs with NOT_CRAN=true
1 parent 253257f commit 39b6fe9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/revdepcheck-top.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ jobs:
5050
R_FUTURE_PLAN: ${{ matrix.config.plan }}
5151
R_FUTURE_GLOBALS_KEEPWHERE: ${{ matrix.config.globals_keepWhere }}
5252
R_GLOBALS_BRANCH: ${{ matrix.config.globals }}
53-
## Specific to furrr (to disable expect_snapshot() tests)
54-
NOT_CRAN: false
53+
NOT_CRAN: true
5554

5655
steps:
5756
- uses: actions/checkout@v4
@@ -94,6 +93,10 @@ jobs:
9493
run: |
9594
url=$(Rscript -e "cat(remotes:::download_version_url('${{ matrix.config.pkg }}', version=NULL, repos='https://cloud.r-project.org', type='source'))")
9695
wget "$url"
96+
## Specific to furrr (to disable expect_snapshot() tests)
97+
if [[ "${{ matrix.config.pkg }}" == "furrr" ]]; then
98+
export NOT_CRAN=false
99+
fi
97100
R CMD check --no-manual --as-cran "$(basename "$url")"
98101
99102
- name: Upload check results

0 commit comments

Comments
 (0)