summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-21 10:03:53 +0200
committerjaseg <git@jaseg.de>2022-06-21 10:03:53 +0200
commit99eec1e09204b297fc7c28ba790af79cc48dea70 (patch)
tree747c080b49c73759d109dd74ee06531f9fb15cdd /.gitlab-ci.yml
parenta1eb3afa7528759196fc0050da542511e2d762f0 (diff)
downloadgerbonara-99eec1e09204b297fc7c28ba790af79cc48dea70.tar.gz
gerbonara-99eec1e09204b297fc7c28ba790af79cc48dea70.tar.bz2
gerbonara-99eec1e09204b297fc7c28ba790af79cc48dea70.zip
Add ubuntu tests
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
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"