Skip to content

Commit dee3811

Browse files
committed
install nimble for tensorOps tests
1 parent 3aed8da commit dee3811

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test-all.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
description: 'Run all tests'
99
required: true
1010
default: 'yes'
11+
run_tensorOps:
12+
description: 'Run tensorOps tests'
13+
required: false
14+
default: 'yes'
1115

1216
jobs:
1317
test-nCompile:
@@ -94,7 +98,7 @@ jobs:
9498
runs-on: ubuntu-latest
9599
container:
96100
image: rocker/r2u:latest
97-
if: github.event.inputs.run_tests == 'yes'
101+
if: github.event.inputs.run_tests == 'yes' and github.event.inputs.run_tensorOps == 'yes'
98102
steps:
99103
- uses: actions/checkout@v3
100104
- name: SessionInfo
@@ -105,7 +109,7 @@ jobs:
105109
- name: Package Dependencies
106110
run: R -q -e 'remotes::install_deps("nCompiler", dependencies=TRUE)'
107111
- name: Install inline
108-
run: R -q -e 'remotes::install_cran("inline")'
112+
run: R -q -e 'remotes::install_cran(c("inline", "nimble"))'
109113
- name: Build Package
110114
run: |
111115
R CMD build nCompiler

0 commit comments

Comments
 (0)