Skip to content
Snippets Groups Projects
Commit 83bceb6b authored by Johannes Boog's avatar Johannes Boog
Browse files

[ci] explicitly setup python env in test job

parent 13903155
No related branches found
No related tags found
1 merge request!66Bugfix
......@@ -37,6 +37,10 @@ test:
- *before_script_templ
- R -e "install.packages('renv', repos = c(CRAN = 'https://cloud.r-project.org'))"
- R -e "renv::restore()"
# Setup python and fix python virtual environment
- R -e 'reticulate::virtualenv_create(envname="r2ogs6", python="/usr/bin/python3", packages = c("numpy", "vtk"))'
- echo "RETICULATE_PYTHON=/root/.virtualenvs/r2ogs6/bin/python" > .Renviron
- R -e 'reticulate::py_config()'
#- R -e 'renv::status()'
# - R -e 'renv::install()'
# - R -e 'renv::install("bioc::rhdf5")'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment