From f58d9cf3dc0584f753a4a06aff0bf76b815f57ac Mon Sep 17 00:00:00 2001 From: "T.Tian" Date: Thu, 21 Nov 2024 01:45:29 +0800 Subject: [PATCH] avoid empty doc/_static --- .github/workflows/publish_doc_pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish_doc_pages.yml b/.github/workflows/publish_doc_pages.yml index 9f0f0ae9..74c85405 100644 --- a/.github/workflows/publish_doc_pages.yml +++ b/.github/workflows/publish_doc_pages.yml @@ -56,6 +56,7 @@ jobs: pip install -e ".[doc]" - name: Generate coverage files run: | + mkdir -p doc/_static if [ -f .coverage ]; then coverage html --omit="tests/*.py" -d doc/_static/htmlcov fi