|
30 | 30 | # - {os: ubuntu-latest, r: '3.6' } |
31 | 31 | - {os: ubuntu-latest, r: 'release' , plan: multicore, label: 'w/ multicore' } |
32 | 32 | - {os: ubuntu-latest, r: 'release' , plan: multisession, label: 'w/ multisession' } |
| 33 | + - {os: windows-latest, r: 'release', future_version: develop, label: 'w/ future-develop' } |
| 34 | + - {os: windows-latest, r: 'release', globals_version: develop, future_version: develop, label: 'w/ future-develop' } |
33 | 35 | - {os: ubuntu-latest, r: 'release', future_version: develop, label: 'w/ future-develop' } |
| 36 | + - {os: ubuntu-latest, r: 'release', globals_version: develop, future_version: develop, label: 'w/ future-develop' } |
34 | 37 |
|
35 | 38 | env: |
36 | 39 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} |
|
48 | 51 | R_FUTURE_PLAN: ${{ matrix.config.plan }} |
49 | 52 | ## FIXME: Eventually update to 'R_FUTURE_GLOBALS_ONREFERENCE=error' |
50 | 53 | R_FUTURE_GLOBALS_ONREFERENCE: "warning" |
| 54 | + R_GLOBALS_VERSION: ${{ matrix.config.globals_version }} |
51 | 55 | R_FUTURE_VERSION: ${{ matrix.config.future_version }} |
52 | 56 |
|
53 | 57 | steps: |
|
74 | 78 |
|
75 | 79 | - name: Test with specific future version? |
76 | 80 | run: | |
| 81 | + globals_version <- Sys.getenv("R_GLOBALS_VERSION") |
| 82 | + if (nzchar(globals_version)) { |
| 83 | + install.packages("remotes") |
| 84 | + remotes::install_github("futureverse/globals", ref=globals_version) |
| 85 | + } |
77 | 86 | future_version <- Sys.getenv("R_FUTURE_VERSION") |
78 | 87 | if (nzchar(future_version)) { |
79 | 88 | install.packages("remotes") |
|
0 commit comments