Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
testing pipeline
  • Loading branch information
InkaSpy authored May 30, 2024
1 parent 5ffd88e commit ffcb88f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
stages:
- test

test:
stage: test
allow_failure: true
tags:
- docker
image: registry.roqs.basf.net/base-images/r:latest
before_script:
- Rscript -e "devtools::install()"
script:
- Rscript -e "devtools::session_info()"
# Check style
- Rscript -e "Sys.setenv(LINTR_COMMENT_BOT=FALSE); lintr::lint_package()"
# RUN R CMD CHECK
- Rscript -e "devtools::check(args = c('--timings','--no-tests'), env_vars = c('_R_CHECK_LICENSE_'=FALSE))"
# create coverage report
- Rscript -e "covr::package_coverage()"
coverage: '/^.*Coverage: (\d+\.\d+%)/'

0 comments on commit ffcb88f

Please sign in to comment.