From 39d7d693eecfde10abb44005f413bd806f9cc2a2 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 21 Jun 2022 12:39:11 +0200 Subject: ci: add ubuntu 20.04 / python 3.8 tests --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to '.gitlab-ci.yml') 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 -- cgit