CI: remove tests as our test suite is a bit too heavy for public gitlab runners
Some checks failed
Some checks failed
This commit is contained in:
parent
a91d760c08
commit
e03e39b421
1 changed files with 30 additions and 30 deletions
|
|
@ -3,7 +3,7 @@ variables:
|
|||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
# - test
|
||||
- docs
|
||||
- publish
|
||||
|
||||
|
|
@ -20,35 +20,35 @@ build:archlinux:
|
|||
paths:
|
||||
- dist/*.whl
|
||||
|
||||
test:archlinux:
|
||||
stage: test
|
||||
image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
|
||||
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"
|
||||
script:
|
||||
- sphinx-build -E docs docs/_build
|
||||
dependencies:
|
||||
- build:archlinux
|
||||
artifacts:
|
||||
name: "docs-gerbonara-$CI_COMMIT_REF_NAME"
|
||||
paths:
|
||||
- docs/_build
|
||||
#test:archlinux:
|
||||
# stage: test
|
||||
# image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
|
||||
# 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"
|
||||
# script:
|
||||
# - sphinx-build -E docs docs/_build
|
||||
# dependencies:
|
||||
# - build:archlinux
|
||||
# artifacts:
|
||||
# name: "docs-gerbonara-$CI_COMMIT_REF_NAME"
|
||||
# paths:
|
||||
# - docs/_build
|
||||
|
||||
publish:gerbonara:
|
||||
stage: publish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue