Skip to content

Commit

Permalink
Create CI for package tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitejohnson authored Jul 8, 2024
1 parent 4cccf18 commit 74f0818
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/r-cmd-check
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: R CMD check project packages

on:
pull_request:
push:
branches: [main, prod]

jobs:
check-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: "release"
use-public-rspm: true
extra-repositories: "https://mc-stan.org/r-packages/"
- name: "Set up dependencies for wweval"
uses: r-lib/actions/setup-r-dependencies@v2
with:
needs: check
- name: "Install cmdstan via cmdstanr"
uses: epinowcast/actions/install-cmdstan@v1
with:
cmdstan-version: "latest"
- name: "Check wwinference package"
uses: r-lib/actions/check-r-package@v2

0 comments on commit 74f0818

Please sign in to comment.