Skip to content

Commit

Permalink
Merge pull request #142 from dstansby/doc-ci
Browse files Browse the repository at this point in the history
Add a doc build CI run
  • Loading branch information
dstansby committed Feb 19, 2022
2 parents e55363c + a574733 commit e5fe483
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build docs
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[docs]
- name: Build docs
run: |
cd doc
make html
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ docs =
astropy
numpydoc
sphinx
sphinx_automodapi
sphinx_rtd_theme
xarray

[tool:pytest]
minversion = 3.9
Expand Down

0 comments on commit e5fe483

Please sign in to comment.