Update .gitlab-ci.yml file

This commit is contained in:
2023-11-26 18:34:31 +01:00
parent 737c5aa8c0
commit 3b49e9f2d8

View File

@@ -18,3 +18,17 @@ run_tests:
- coverage run -m pytest - coverage run -m pytest
- coverage report - coverage report
coverage: '/TOTAL.*\s+(\d+\%)/' coverage: '/TOTAL.*\s+(\d+\%)/'
pages:
stage: deploy
before_script:
- echo "$CI_BUILDS_DIR"
- source /home/gitlab-runner/miniconda3/bin/activate cristallina
script:
- tox -e docs
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH