Add ubuntu tests

modern_python
jaseg 2022-06-21 10:03:53 +02:00
rodzic a1eb3afa75
commit 99eec1e092
1 zmienionych plików z 19 dodań i 0 usunięć

Wyświetl plik

@ -39,6 +39,25 @@ test:archlinux:
paths: paths:
- gerbonara_test_failures/* - 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: docs:archlinux:
stage: test stage: test
image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"