diff options
author | jaseg <git@jaseg.de> | 2022-06-21 09:54:52 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-21 09:55:56 +0200 |
commit | 6369b5ddb6e4463bf056da2f88db51ed262ccfd7 (patch) | |
tree | 731587122a5908e36163081e555e080ce17f9804 /.gitlab-ci.yml | |
parent | 9ca97311108040552e4f119f1503ecf157297908 (diff) | |
download | gerbonara-6369b5ddb6e4463bf056da2f88db51ed262ccfd7.tar.gz gerbonara-6369b5ddb6e4463bf056da2f88db51ed262ccfd7.tar.bz2 gerbonara-6369b5ddb6e4463bf056da2f88db51ed262ccfd7.zip |
re-enable tests and docs in CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08d8d86..4c9b711 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ variables: stages: - build -# - test + - test - docs - publish @@ -21,35 +21,35 @@ build:archlinux: paths: - dist/* -#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 |