-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from volkamerlab/fix-docs-ci
Fix docs CI
- Loading branch information
Showing
3 changed files
with
56 additions
and
40 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request: | ||
branches: | ||
- "main" | ||
schedule: | ||
# Run a cron job once weekly on Tuesday | ||
- cron: "0 0 * * TUE" | ||
|
||
jobs: | ||
docs: | ||
name: Docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
python-version: "3.7" | ||
mamba-version: "*" | ||
activate-environment: test | ||
channel-priority: true | ||
environment-file: devtools/conda-envs/test_env.yaml | ||
auto-activate-base: false | ||
|
||
- name: Additional info about the build | ||
shell: bash | ||
run: | | ||
uname -a | ||
df -h | ||
ulimit -a | ||
- name: Install package | ||
shell: bash -l {0} | ||
run: | | ||
pip install . --no-deps -vv | ||
- name: Environment Information | ||
shell: bash -l {0} | ||
run: | | ||
conda info --all | ||
conda list | ||
- name: Run Sphinx | ||
shell: bash -l {0} | ||
run: | | ||
cd docs | ||
make clean | ||
SPHINXOPTS="-j2 -T --keep-going" make html |
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