From a4c77dc04e5ebb968d5f1a2c3a0dfea3deafc626 Mon Sep 17 00:00:00 2001 From: "H. L. Nourse" <32994022+thenoursehorse@users.noreply.github.com> Date: Thu, 26 Oct 2023 16:48:03 +0900 Subject: [PATCH] fix: add docs to ci test --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbc0802..a3907a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,9 +42,15 @@ jobs: - name: Install risb run: | source $TRIQS_INSTALL/share/triqs/triqsvars.sh - python -m pip install -e .[test] + python -m pip install -e .[test,docs] - name: Test risb run: | source $TRIQS_INSTALL/share/triqs/triqsvars.sh - python -m pytest \ No newline at end of file + python -m pytest + + - name: Test docs + run: | + source $TRIQS_INSTALL/share/triqs/triqsvars.sh + sphinx-apidoc -o docs/api --module-first --no-toc --force --separate src/risb + sphinx-build -b html -n -T docs docs/_build \ No newline at end of file