mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 07:26:13 +01:00
fix for gitlab pipeline, add covr to appveyor
This commit is contained in:
parent
160e025609
commit
0834bdfabc
@ -9,7 +9,7 @@ gitlab:
|
||||
# - R CMD build . --no-build-vignettes --no-manual
|
||||
# - PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
|
||||
# - R CMD check "${PKG_FILE_NAME}" --no-manual --as-cran
|
||||
- R -e "install.packages('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat')"
|
||||
- R -e "install.packages(c('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat'))"
|
||||
- R CMD build . --no-build-vignettes --no-manual
|
||||
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
|
||||
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
|
||||
|
@ -35,6 +35,9 @@ on_failure:
|
||||
- 7z a failure.zip *.Rcheck\*
|
||||
- appveyor PushArtifact failure.zip
|
||||
|
||||
on_success:
|
||||
- Rscript -e "covr::codecov()"
|
||||
|
||||
artifacts:
|
||||
- path: '*.Rcheck\**\*.log'
|
||||
name: Logs
|
||||
|
Loading…
Reference in New Issue
Block a user