diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 99a9879bf4..dd962d0585 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -181,6 +181,22 @@ jobs: reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov' +- job: DocTest + pool: + vmImage: 'ubuntu-16.04' + steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.8' + - script: | + pip install -e .[all] + displayName: Install pvlib[all] for doc build + - script: | + cd docs/sphinx/ + sphinx-build -j auto -b html -d _build/doctrees source build + displayName: Build HTML docs + + - job: 'Publish' dependsOn: 'Test_conda_linux' pool: diff --git a/docs/sphinx/source/whatsnew/v0.7.2.rst b/docs/sphinx/source/whatsnew/v0.7.2.rst index 37a6a6df99..efe9286544 100644 --- a/docs/sphinx/source/whatsnew/v0.7.2.rst +++ b/docs/sphinx/source/whatsnew/v0.7.2.rst @@ -37,6 +37,7 @@ Bug fixes 0.6.4 what's new file. (:issue:`898`) * Compatibility with cftime 1.1. (:issue:`895`) * Add Python3.8 to Azure Pipelines CI (:issue:`903`)(:pull:`904`) +* Add documentation build test to Azure Pipelines CI (:pull:`909`) * Minor implemention changes to avoid runtime and deprecation warnings in :py:func:`~pvlib.clearsky.detect_clearsky`, :py:func:`~pvlib.iam.martin_ruiz_diffuse`,