Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
description: 'Run nCompile tests'
required: false
default: 'yes'
run_nCompile_features:
description: 'Run nCompile feature tests'
required: false
default: 'yes'
run_nClass:
description: 'Run nClass tests'
required: false
Expand Down Expand Up @@ -52,6 +56,29 @@ jobs:
testthat::test_dir("nCompiler/tests/testthat/specificOp_tests", reporter = "summary")
shell: Rscript {0}

test-nCompile-features:
runs-on: ubuntu-latest
container:
image: rocker/r2u:latest
if: github.event.inputs.run_tests == 'yes' || github.event.inputs.run_nCompile_features == 'yes'
steps:
- uses: actions/checkout@v3
- name: SessionInfo
run: R -q -e 'sessionInfo()'
- name: Package Dependencies
run: R -q -e 'remotes::install_deps("nCompiler", dependencies=TRUE)'
- name: Install inline
run: R -q -e 'remotes::install_cran("inline")'
- name: Build Package
run: |
R CMD build nCompiler
R CMD INSTALL --install-tests nCompiler_*.tar.gz
- name: Run nCompile and other tests
run: |
library(nCompiler)
testthat::test_dir("nCompiler/tests/testthat/predefined_tests", reporter = "summary")
shell: Rscript {0}

test-nClass:
runs-on: ubuntu-latest
container:
Expand Down
Loading
Loading