Skip to content

Commit 03539d8

Browse files
committed
Reverted YAML file
1 parent 079cb2c commit 03539d8

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
name: netZooR
1010

1111
env:
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

0 commit comments

Comments
 (0)