Skip to content
Snippets Groups Projects
Commit 7e286b15 authored by CharlieC's avatar CharlieC
Browse files

Add pages creation

parent e1aeef16
No related branches found
No related tags found
No related merge requests found
Pipeline #90521 passed
stages:
- test
- deploy
.unit-test: &unit
stage: test
......@@ -62,6 +63,18 @@
TOXENV: pypy3
test-docs:
<<: *unit
script:
- apt-get update && apt-get install -y --no-install-recommends zip
- tox -e doc
- zip -r docs.zip .tox/doc/tmp/html
artifacts:
paths:
- docs.zip
test-coverage:
<<: *unit
script:
......@@ -81,3 +94,20 @@
coverage_report:
coverage_format: cobertura
path: coverage.xml
pages:
stage: deploy
image: python:3
script:
- unzip docs.zip
- mv .tox/doc/tmp/html public
artifacts:
paths:
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment