Skip to content

Commit

Permalink
check on release OS only, on PR only (#28)
Browse files Browse the repository at this point in the history
* check on release OS only, on PR only

* correcting stupidness
  • Loading branch information
talegari authored May 30, 2024
1 parent 076f74b commit be61c19
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

Expand All @@ -22,17 +20,14 @@ jobs:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
Expand All @@ -48,5 +43,7 @@ jobs:

- uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--as-cran", "--no-vignettes", "--no-build-vignettes")'
upload-snapshots: true
build_args: 'c("--no-manual","--no-build-vignettes","--ignore-vignettes")'
build_args: 'c("--no-manual","--no-build-vignettes")'
error-on: '"error"'

0 comments on commit be61c19

Please sign in to comment.