From fd3ab6a5c9c69d6ec16a33d5b07262d67bc1ce4d Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Sun, 19 Nov 2023 17:40:38 +0100 Subject: Added ci --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9350639 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +stages: + - test + +variables: + IMAGE: $CI_REGISTRY_IMAGE:pipeline-$CI_PIPELINE_ID + +image: registry.lan.tomvanderlee.com/pyenv-images/:latest + +test: + image: $IMAGE + stage: test + script: + - pyenv install 3.12 + - pyenv global 3.12 + - pip install -r requirements.txt + - pytest -m aoc -- cgit v1.2.3