File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 99name : netZooR
1010
1111env :
12- RETICULATE_AUTOCONFIGURE : " FALSE"
1312 ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
1413 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
1514 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
@@ -66,18 +65,20 @@ jobs:
6665
6766 - if : matrix.os == 'ubuntu-latest'
6867 run : |
69- sudo apt-get update
70- sudo apt-get install -y python3-venv
68+ sudo apt-get install python3-venv
69+ pip install --upgrade pip
7170 python3 -m venv env
72- echo "RETICULATE_PYTHON=${GITHUB_WORKSPACE}/ env/bin/python" >> $GITHUB_ENV
73- shell : bash
71+ source env/bin/activate
72+ echo "VIRTUAL ENV:" $VIRTUAL_ENV
7473
75- - name : Install Python deps
74+ - name : Install reticulate
7675 run : |
77- source env/bin/activate
78- pip install -U pip
79- pip install numpy scipy pandas joblib
80- shell : bash
76+ library("reticulate")
77+ py_install("numpy")
78+ py_install("scipy")
79+ py_install("pandas")
80+ py_install("joblib")
81+ shell : Rscript {0}
8182
8283 - name : Check
8384 uses : r-lib/actions/check-r-package@v2.11.3
You can’t perform that action at this time.
0 commit comments