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
11
11
# Increment this version when we want to clear cache
12
12
env :
13
13
cache-version : v1
14
+ r-version : 4.0
14
15
15
16
jobs :
16
17
test-coverage :
17
18
runs-on : macOS-latest
18
19
steps :
19
20
- uses : actions/checkout@v2
21
+ with :
22
+ r-version : ${{ env.r-version }}
20
23
21
24
- uses : r-lib/actions/setup-r@master
22
25
32
35
uses : actions/cache@v1
33
36
with :
34
37
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 }} -
37
40
38
41
- name : Install system dependencies on macOS
39
42
if : runner.os == 'macOS'
53
56
brew install udunits gdal
54
57
fi
55
58
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
-
63
59
- name : Install dependencies
64
60
run : |
65
61
install.packages(c("remotes"))
You can’t perform that action at this time.
0 commit comments