Skip to content

Commit

Permalink
Create r-cmd-check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris authored Nov 19, 2024
1 parent 8a5665c commit 076656a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/r-cmd-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: R CMD check hewr

on:
pull_request:
push:
branches: [main]

jobs:
check-hewr:
strategy:
matrix:
r-version: ["4.4.0", "release"]
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{matrix.r-version}}
use-public-rspm: true
- name: "Set up dependencies for hewr"
uses: r-lib/actions/setup-r-dependencies@v2
with:
working-directory: hewr
needs: check
- name: "Check hewr package"
uses: r-lib/actions/check-r-package@v2
with:
working-directory: hewr

0 comments on commit 076656a

Please sign in to comment.