update yaml files #965
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: windows | |
jobs: | |
R-CMD: | |
runs-on: ${{ matrix.config.os }} | |
name: (fastai ${{ matrix.config.fastai }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { os: windows-latest, fastai: '2.2.1'} | |
env: | |
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | |
PIP_NO_WARN_SCRIPT_LOCATION: false | |
FASTAI_VERSION: ${{ matrix.config.fastai2 }} | |
RETICULATE_AUTOCONFIGURE: 'FALSE' | |
CRAN: ${{ matrix.config.cran }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: '4.3.1' | |
rtools-version: '44' | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- name: Install MacOS/Windows/Linux | |
run: | | |
Rscript -e "install.packages('remotes')" | |
Rscript -e "remotes::install_deps(dependencies = TRUE)" | |
Rscript -e "remotes::install_cran('rcmdcheck')" | |
- name: Install Python | |
run: | | |
Rscript -e "install.packages('reticulate')" | |
Rscript -e "try(reticulate::install_miniconda())" | |
Rscript -e "reticulate::conda_create('r-reticulate',python_version = '3.8')" | |
- name: Install fastai | |
run: | | |
Rscript -e "remotes::install_local()" | |
Rscript -e "fastai::install_fastai()" | |
- name: Check | |
continue-on-error: ${{ matrix.config.allow_failure }} | |
run: Rscript -e "rcmdcheck::rcmdcheck(args = c('--no-manual','--no-multiarch'), error_on = 'error', check_dir = 'check')" |