summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml60
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