From a3ac5a1edd733bc2559258ea67a9340e2159c46d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Mon, 13 Apr 2020 21:11:41 +0200 Subject: [PATCH] correct doc + coverage publication --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 346e5111..2f5a6a2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,8 +56,10 @@ test-centos7: - python3.6 manage.py test - coverage run --source='.' manage.py test - coverage report + - coverage html - 'mkdir -p ../public/$CI_COMMIT_REF_NAME' - - pip install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme + - 'mv html ../public/$CI_COMMIT_REF_NAME/coverage' + - pip3.6 install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme - cd docs - make html - 'mv build/html/ ../../public/$CI_COMMIT_REF_NAME' -- GitLab