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: lint:
stage: test stage: test
allow_failure: true
before_script: before_script:
- ./cicd/install-project-deps.sh - ./cicd/install-project-deps.sh
script: script:
@@ -64,8 +63,7 @@ pages:
before_script: before_script:
- ./cicd/install-project-deps.sh - ./cicd/install-project-deps.sh
script: script:
- 'cd docs && make html' - ./cicd/pages-build.sh
- mv docs/_build/html public
artifacts: artifacts:
paths: paths:
- public - 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 pathlib import Path
from typing import ( from typing import (
Any, Any,
Awaitable,
Generic, Generic,
Iterable, Iterable,
List, List,