From 0558e31ca20b32f735ba559f3e524d7a6eea7689 Mon Sep 17 00:00:00 2001 From: Andreas Piter <167966024+Andreas-Piter@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:46:12 +0200 Subject: [PATCH] Debug docs. Comment tests. --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cbb106..4f029f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: unzip testdata.zip mv testdata tests/ mamba list - make pytest + #make pytest shell: bash - name: create docs @@ -206,6 +206,16 @@ jobs: mkdir -p public/images/ mkdir -p public/coverage mkdir -p public/test_reports + + ls -al docs/_build/html + # Copy command with checks if directories exist + if [ -d docs/_build/html ]; then + cp -r docs/_build/html/* public/doc/ + else + echo "docs/_build/html does not exist" + exit 1 + fi + cp -r docs/_build/html/* public/doc/ cp -r htmlcov/* public/coverage/ cp report.html public/test_reports/