Skip to content

Commit 2ce2cab

Browse files
Copilotosorensen
andcommitted
Add Debian with --as-cran to GitHub Actions workflow
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
1 parent abe7050 commit 2ce2cab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- {os: ubuntu-latest, r: 'release'}
2424
- {os: ubuntu-latest, r: 'oldrel-1'}
2525
- {os: windows-latest, r: 'release'}
26+
# Debian-like environment with CRAN checks
27+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release', check-as-cran: 'true'}
2628

2729
env:
2830
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
@@ -48,3 +50,4 @@ jobs:
4850
with:
4951
upload-snapshots: true
5052
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
53+
args: ${{ matrix.config.check-as-cran == 'true' && 'c("--as-cran")' || 'c("--no-manual")' }}

0 commit comments

Comments
 (0)