Skip to content

Commit

Permalink
updage GHA to not use miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Jul 25, 2023
1 parent 195d442 commit 426b19f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
Ncpus: '2L'
use-public-rspm: true

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config.python }}

- uses: r-lib/actions/setup-pandoc@v2

Expand Down Expand Up @@ -99,12 +102,15 @@ jobs:
sudo $cmd
done < <(Rscript -e "writeLines(remotes::system_requirements('$ID-$VERSION_ID'))")
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck remotes local::.
cache-version: 3
upgrade: 'TRUE'

- name: Install package + deps
run: remotes::install_local(dependencies = TRUE, force = TRUE)

- name: Install Miniconda
run: reticulate::install_miniconda()

- name: Install TensorFlow
run: tensorflow::install_tensorflow(version = '${{ matrix.tf }}-cpu')

Expand Down

0 comments on commit 426b19f

Please sign in to comment.