Skip to content

Commit 08fc3db

Browse files
committed
adding docs build to the tests run
1 parent 80e8806 commit 08fc3db

File tree

2 files changed

+11
-43
lines changed

2 files changed

+11
-43
lines changed

.github/workflows/doc_conda.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/tests_run.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,14 @@ jobs:
4040
- name: Run tests
4141
run: |
4242
pytest tests/
43+
44+
- name: Build api docs
45+
run: sphinx-apidoc -feT -t=./docs/source/_templates -o ./docs/source/api ./httomolibgpu
46+
47+
- name: Build html
48+
run: sphinx-build -a -E -b html ./docs/source/ ./docs/build/
49+
50+
- name: Run ghp-import
51+
run: ghp-import -n -p -f ./docs/build
52+
env:
53+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)