Commit 202e83c3 authored by Dorchies David's avatar Dorchies David

test: First try with gitlab-ci

- Add automatic test for `R CMD build`
- Add automatic test for `R CMD check` with `NOT_CRAN` set to `true`

Refs #52
parent 5566d731
Pipeline #12432 passed with stages
in 1 minute and 48 seconds
stages:
- build
- tests
build:
stage: build
script:
- cd ..
- echo "setwd(\"$(pwd)\")" > .Rprofile
- R CMD build airgr
- mv *.tar.gz airgr/
artifacts:
untracked: true
expire_in: 1 week
check_not_cran:
stage: tests
script:
- echo "setwd(\"$(pwd)\")" > .Rprofile
- NOT_CRAN="true"
- R CMD check airGR_*.tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment