ci: add ubuntu 20.04 / python 3.8 tests
This commit is contained in:
parent
218f9d9b1f
commit
39d7d693ee
1 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue