From 99eec1e09204b297fc7c28ba790af79cc48dea70 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 21 Jun 2022 10:03:53 +0200 Subject: Add ubuntu 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 8395da8..342b5f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,6 +39,25 @@ test:archlinux: paths: - gerbonara_test_failures/* +test:ubuntu2004: + stage: test + image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:22.04" + script: + - 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 image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" -- cgit