Added htmlcov to pages deploy

This commit is contained in:
Sumner Evans
2020-01-20 21:49:10 -07:00
parent d3e3e463ed
commit 2eda579830
3 changed files with 9 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ image: registry.gitlab.com/sumner/sublime-music/python-build:latest
lint:
stage: test
allow_failure: true
before_script:
- ./cicd/install-project-deps.sh
script:
@@ -64,8 +63,7 @@ pages:
before_script:
- ./cicd/install-project-deps.sh
script:
- 'cd docs && make html'
- mv docs/_build/html public
- ./cicd/pages-build.sh
artifacts:
paths:
- public

8
cicd/pages-build.sh Executable file
View File

@@ -0,0 +1,8 @@
#! /bin/sh
pushd docs
pipenv run make html
popd
mv docs/_build/html public
mv htmlcov public

View File

@@ -17,7 +17,6 @@ from datetime import datetime
from pathlib import Path
from typing import (
Any,
Awaitable,
Generic,
Iterable,
List,