summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-21 12:39:11 +0200
committerjaseg <git@jaseg.de>2022-06-21 12:39:11 +0200
commit39d7d693eecfde10abb44005f413bd806f9cc2a2 (patch)
tree9cfcf3ad7364590951e17cef97e32278cb3b9316
parent218f9d9b1f0c28969a339beead4a059a46f728dc (diff)
downloadgerbonara-39d7d693eecfde10abb44005f413bd806f9cc2a2.tar.gz
gerbonara-39d7d693eecfde10abb44005f413bd806f9cc2a2.tar.bz2
gerbonara-39d7d693eecfde10abb44005f413bd806f9cc2a2.zip
ci: add ubuntu 20.04 / python 3.8 tests
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1bda95a..ac9b7cb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -58,6 +58,25 @@ test:ubuntu2204:
paths:
- gerbonara_test_failures/*
+test:ubuntu2004:
+ stage: test
+ image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:20.04"
+ script:
+ - python3 -m pip install pytest beautifulsoup4 pillow numpy slugify lxml click scipy
+ - python3 -m pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*'
+ dependencies:
+ - build:archlinux
+ cache:
+ key: test-image-cache
+ paths:
+ - gerbonara/tests/image_cache/*.svg
+ - gerbonara/tests/image_cache/*.png
+ artifacts:
+ name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbonara"
+ when: on_failure
+ paths:
+ - gerbonara_test_failures/*
+
docs:archlinux:
stage: test