@@ -16,16 +16,17 @@ jobs:
1616 R-CMD-check :
1717 runs-on : ${{ matrix.config.os }}
1818
19- name : ${{ matrix.config.os }} (${{ matrix.config.r }})
19+ name : ${{ matrix.config.os }} (R ${{ matrix.config.r }}; mlr3 ${{ matrix.config.mlr3 }})
2020
2121 strategy :
2222 fail-fast : false
2323 matrix :
2424 config :
25- - {os: windows-latest, r: 'release'}
26- - {os: macOS-latest, r: 'release'}
27- - {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
28- - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
25+ - {os: windows-latest, r: 'release', mlr3: 'release'}
26+ - {os: macOS-latest, r: 'release', mlr3: 'release'}
27+ - {os: ubuntu-20.04, r: 'release', mlr3: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
28+ - {os: ubuntu-20.04, r: 'devel', mlr3: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
29+ - {os: ubuntu-20.04, r: 'devel', mlr3: 'dev', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
2930
3031 env :
3132 R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
5556 uses : actions/cache@v2
5657 with :
5758 path : ${{ env.R_LIBS_USER }}
58- key : ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
59- restore-keys : ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-
59+ key : ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-${{ matrix.config.mlr3 }}- 1-${{ hashFiles('.github/depends.Rds') }}
60+ restore-keys : ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-${{ matrix.config.mlr3 }}- 1-
6061
6162 - name : Install system dependencies
6263 if : runner.os == 'Linux'
7273 remotes::install_cran("rcmdcheck")
7374 shell : Rscript {0}
7475
76+ - name : mlr3 dev version
77+ if : matrix.config.mlr3 == 'dev'
78+ run : |
79+ remotes::install_github("mlr-org/mlr3")
80+ shell : Rscript {0}
81+
7582 - name : Check
7683 if : runner.os != 'macOS'
7784 env :
9198 if : failure()
9299 uses : actions/upload-artifact@main
93100 with :
94- name : ${{ runner.os }}-r${{ matrix.config.r }}-results
101+ name : ${{ runner.os }}-r${{ matrix.config.r }}-${{ matrix.config.mlr3 }}- results
95102 path : check
96103
97104 - name : Install covr
0 commit comments