Port over the existing tests and set up CI #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |