Skip to content

Commit

Permalink
Split workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed May 27, 2024
1 parent 730b70e commit 92d7865
Showing 1 changed file with 32 additions and 9 deletions.
41 changes: 32 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@ env:
_R_CHECK_FORCE_SUGGESTS_: "false"

jobs:
ci:
strategy:
matrix:
include:
#- {os: macOS-latest}
- {os: ubuntu-latest}

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

steps:
- name: Checkout
Expand Down Expand Up @@ -82,10 +76,39 @@ jobs:
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@4.6.1
with:
clean: true
branch: gh-pages
folder: docs

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

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

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

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

- name: Bootstrap
run: ./run.sh bootstrap

#- name: Dependencies
# run: ./run.sh install_deps

- name: All Dependencies
run: ./run.sh install_all

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

0 comments on commit 92d7865

Please sign in to comment.