diff options
| author | 2023-11-19 17:40:38 +0100 | |
|---|---|---|
| committer | 2023-11-19 17:40:38 +0100 | |
| commit | fd3ab6a5c9c69d6ec16a33d5b07262d67bc1ce4d (patch) | |
| tree | 5129f1ed1ffc8f4d74f39abe76af977c7e323c3c /.gitlab-ci.yml | |
| parent | 4147da1317c19fa61d6aa265e8370e63231f9207 (diff) | |
| download | 2023-fd3ab6a5c9c69d6ec16a33d5b07262d67bc1ce4d.tar.gz 2023-fd3ab6a5c9c69d6ec16a33d5b07262d67bc1ce4d.tar.bz2 2023-fd3ab6a5c9c69d6ec16a33d5b07262d67bc1ce4d.zip | |
Added ci
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ | |||
| 1 | stages: | ||
| 2 | - test | ||
| 3 | |||
| 4 | variables: | ||
| 5 | IMAGE: $CI_REGISTRY_IMAGE:pipeline-$CI_PIPELINE_ID | ||
| 6 | |||
| 7 | image: registry.lan.tomvanderlee.com/pyenv-images/:latest | ||
| 8 | |||
| 9 | test: | ||
| 10 | image: $IMAGE | ||
| 11 | stage: test | ||
| 12 | script: | ||
| 13 | - pyenv install 3.12 | ||
| 14 | - pyenv global 3.12 | ||
| 15 | - pip install -r requirements.txt | ||
| 16 | - pytest -m aoc | ||
