Skip to content

Commit 7e1ec3f

Browse files
committed
get nimbleModel into CI testing setup
1 parent 9cd7dd0 commit 7e1ec3f

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test-all.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
- uses: actions/checkout@v3
4040
- name: SessionInfo
4141
run: R -q -e 'sessionInfo()'
42+
- name: Install nimbleModel
43+
run: R -q -e 'remotes::install_github("https://github.com/perrydv/nimbleModel", subdir="nimbleModel",
44+
auth_token=Sys.getenv("GITHUB_TOKEN_NIMBLEMODEL"))'
45+
env: GITHUB_TOKEN_NIMBLEMODEL: ${{ secrets.GH_NM_PAT }}
4246
- name: Package Dependencies
4347
run: R -q -e 'remotes::install_deps("nCompiler", dependencies=TRUE)'
4448
- name: Install inline

nCompiler/tests/nimble/test-coreR.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,7 @@ test_that('seq_along works in nimbleFunctions', {
10901090
})
10911091

10921092
## Some tests of using coreR features in BUGS models
1093+
require(nimbleModel)
10931094

10941095
test_that('c(a, 1.1) in BUGS works', {
10951096
mc <- nimbleCode({

0 commit comments

Comments
 (0)