.gitlab-ci.yml 483 Bytes
Newer Older
stages:
  - build
build:
  stage: build
  script:
aho's avatar
aho committed
    - module load R/4.1.2-foss-2015a-bare
aho's avatar
aho committed
    - module load CDO/1.9.8-foss-2015a
    - R CMD build --resave-data .
aho's avatar
aho committed
    - R CMD check --as-cran --no-manual --run-donttest s2dv_*.tar.gz
aho's avatar
aho committed
    - R -e 'covr::package_coverage()'
aho's avatar
aho committed

lint-check:
  stage: test
  script:
    - module load R/4.1.2-foss-2015a-bare
    - module load CDO/1.9.8-foss-2015a
    - echo "Run lintr on the package..."
    - Rscript -e 'lintr::lint_package(path = ".")'