Skip to content

Commit

Permalink
Refactor check
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed May 27, 2024
1 parent 8a92d79 commit d75279d
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@ env:
_R_CHECK_FORCE_SUGGESTS_: "false"

jobs:
R-CMD-check:
strategy:
matrix:
include:
- {os: macOS-latest}
- {os: ubuntu-latest}

runs-on: ${{ matrix.os }}
document:
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand Down Expand Up @@ -57,4 +51,29 @@ jobs:
git commit -m 'Documentation' || echo "No changes to commit"
git push origin || echo "No changes to commit"
R-CMD-check:
needs: document
strategy:
matrix:
include:
- {os: macOS-latest}
- {os: ubuntu-latest}

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Setup
uses: eddelbuettel/github-actions/r-ci-setup@master

- name: Install rcmdcheck
run: |
R -e "
install.packages(c('rcmdcheck'));
"
- uses: r-lib/actions/check-r-package@v2

0 comments on commit d75279d

Please sign in to comment.