Skip to content

Test on windows

Test on windows #8

on:
workflow_dispatch:
push:
name: test-basiliskStart-fallback
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.bioc }})
strategy:
fail-fast: false
matrix:
config:
# - { os: macOS-latest, bioc: 'devel'}
# - { os: ubuntu-latest, bioc: 'devel'}
- { os: macOS-latest, bioc: '3.18'}
- { os: windows-latest, bioc: '3.18'}
- { os: ubuntu-latest, bioc: '3.18'}
- { os: macOS-latest, bioc: '3.17'}
- { os: windows-latest, bioc: '3.17'}
- { os: ubuntu-latest, bioc: '3.17'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
CRAN: ${{ matrix.config.cran }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Set up R and install BiocManager
uses: grimbough/bioc-actions/setup-bioc@v1
with:
bioc-version: ${{ matrix.config.bioc }}
- name: Install basilisk
run: |
BiocManager::install(c('basilisk'))
shell: Rscript {0}
- name: Test basiliskStart
run: |
library(basilisk)
library(basilisk.utils)
sessionInfo()
basilisk.utils::installConda()
basilisk::setBasiliskForceFallback(TRUE)
tmploc <- file.path(".", "my_package_A")
if (!file.exists(tmploc)) {
setupBasiliskEnv(tmploc, c('pandas=1.4.3'))
}
cl <- basiliskStart(tmploc, testload="pandas")
cl
#basiliskRun(proc = cl, sessionInfo)
shell: Rscript {0}