From 2eda579830cb3c0b4aad692925d2e9e741d8f932 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 20 Jan 2020 21:49:10 -0700 Subject: [PATCH] Added htmlcov to pages deploy --- .gitlab-ci.yml | 4 +--- cicd/pages-build.sh | 8 ++++++++ sublime/cache_manager.py | 1 - 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100755 cicd/pages-build.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88c668a..3d40ea0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/cicd/pages-build.sh b/cicd/pages-build.sh new file mode 100755 index 0000000..e92a4c4 --- /dev/null +++ b/cicd/pages-build.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +pushd docs +pipenv run make html +popd + +mv docs/_build/html public +mv htmlcov public diff --git a/sublime/cache_manager.py b/sublime/cache_manager.py index 02023a6..6c1e63d 100644 --- a/sublime/cache_manager.py +++ b/sublime/cache_manager.py @@ -17,7 +17,6 @@ from datetime import datetime from pathlib import Path from typing import ( Any, - Awaitable, Generic, Iterable, List,