File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,15 @@ name: test-coverage
1111# Increment this version when we want to clear cache
1212env :
1313 cache-version : v1
14+ r-version : 4.0
1415
1516jobs :
1617 test-coverage :
1718 runs-on : macOS-latest
1819 steps :
1920 - uses : actions/checkout@v2
21+ with :
22+ r-version : ${{ env.r-version }}
2023
2124 - uses : r-lib/actions/setup-r@master
2225
3235 uses : actions/cache@v1
3336 with :
3437 path : ${{ env.R_LIBS_USER }}
35- key : ${{ env.cache-version }}-macOS-r-3.6 -${{ hashFiles('.github/depends.Rds') }}
36- restore-keys : ${{ env.cache-version }}-macOS-r-3.6 -
38+ key : ${{ env.cache-version }}-macOS-r-${{ env.r-version }} -${{ hashFiles('.github/depends.Rds') }}
39+ restore-keys : ${{ env.cache-version }}-macOS-r-${{ env.r-version }} -
3740
3841 - name : Install system dependencies on macOS
3942 if : runner.os == 'macOS'
5356 brew install udunits gdal
5457 fi
5558
56- # TODO: Remove this when https://github.com/r-lib/xml2/issues/296 is fixed on CRAN
57- - name : Install the dev version of xml2 as a workaround
58- if : runner.os == 'macOS' && matrix.config.r == 'devel'
59- run : |
60- remotes::install_github('r-lib/xml2')
61- shell : Rscript {0}
62-
6359 - name : Install dependencies
6460 run : |
6561 install.packages(c("remotes"))
You can’t perform that action at this time.
0 commit comments