Skip to content

Commit 0a6ec85

Browse files
committed
TensorFlow needs the conda env as well, naturally
1 parent c7cacc0 commit 0a6ec85

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,21 @@ jobs:
7070
remotes::install_cran("rcmdcheck")
7171
shell: Rscript {0}
7272

73-
- name: Create Miniconda on macOS and Ubuntu
73+
- name: Install TensorFlow on macOS and Ubuntu
7474
if: runner.os != 'Windows'
7575
env:
7676
RETICULATE_MINICONDA_PATH: 'miniconda/'
7777
run: |
7878
Rscript -e "reticulate::install_miniconda()"
7979
Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9', conda = 'miniconda/bin/conda')"
80+
Rscript -e "tensorflow::install_tensorflow(version='1.14.0', conda = 'miniconda/bin/conda')"
8081
81-
- name: Create Miniconda on Windows
82+
- name: Install TensorFlow on Windows
8283
if: runner.os == 'Windows'
8384
run: |
8485
Rscript -e "reticulate::install_miniconda()"
8586
Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9')"
86-
87-
- name: Install TensorFlow
88-
run: Rscript -e "tensorflow::install_tensorflow(version='1.14.0')"
87+
Rscript -e "tensorflow::install_tensorflow(version='1.14.0')"
8988
9089
- name: Session info
9190
run: |

.github/workflows/test-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: |
4747
Rscript -e "reticulate::install_miniconda()"
4848
Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9', conda = 'miniconda/bin/conda')"
49-
Rscript -e "tensorflow::install_tensorflow(version='1.14.0')"
49+
Rscript -e "tensorflow::install_tensorflow(version='1.14.0', conda = 'miniconda/bin/conda')"
5050
5151
- name: Test coverage
5252
run: covr::codecov()

0 commit comments

Comments
 (0)