From 0df60c940f3b88470a9303c3c1507749ee4d56a3 Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Mon, 19 Oct 2020 13:57:39 +0200 Subject: [PATCH] Add basic CI configuration to ensure that the tests pass before publishing. --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..eae0a039 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ + +# Use the acc-py-devtools templates found at +# https://gitlab.cern.ch/-/ide/project/acc-co/devops/python/acc-py-devtools/blob/master/-/acc_py_devtools/templates/gitlab-ci/python.yml. +include: + - project: acc-co/devops/python/acc-py-devtools + file: acc_py_devtools/templates/gitlab-ci/python.yml + +variables: + project_name: CARA + + +# A full installation of CARA, tested with pytest. +test_install: + extends: .acc_py_full_test + + +# A development installation of CARA tested with pytest. +test_dev: + extends: .acc_py_dev_test + +