GPU Memory workaround work httomo [wip] #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HTTomo doc test | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v3 | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: httomo | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: false | |
activate-environment: httomo | |
environment-file: ./docs/source/doc-conda-requirements.yml | |
- name: Build api docs | |
run: sphinx-apidoc -feT -t=./docs/source/_templates -o ./docs/source/api ./httomo | |
- name: Generate yml docs | |
run: python ./docs/source/yaml_doc_generator.py | |
- name: Build html | |
run: sphinx-build -a -E -b html ./docs/source/ ./docs/build/ | |
- name: Run ghp-import | |
run: ghp-import -n -p -f ./docs/build |