add code coverage
Gitea Organization/civilyticsR/pipeline/head This commit looks good

This commit is contained in:
Jared Knowles
2022-10-31 12:39:13 -04:00
parent f0133e32b7
commit a0b4abdb9e
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -19,4 +19,4 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /var/lib/shiny-server/bookmarks/shiny
RUN install2.r ggplot2 jpeg png stringr gridExtra grid testthat
RUN install2.r ggplot2 jpeg png stringr gridExtra grid testthat covr
Vendored
+7
View File
@@ -39,6 +39,13 @@ pipeline {
'''
}
}
stage('test coverage') {
steps {
sh '''
R -e 'covr::package_coverage(".")'
'''
}
}
stage('Clean') {
steps {