diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8061c9895ca..74cb13dc985 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -74,6 +74,18 @@ jobs: - bash: black --check . displayName: black formatting check +- job: Doctests + variables: + conda_env: py38 + pool: + vmImage: 'ubuntu-16.04' + steps: + - template: ci/azure/install.yml + - bash: | + source activate xarray-tests + python -m pytest --doctest-modules xarray --ignore xarray/tests + displayName: Run doctests + - job: TypeChecking variables: conda_env: py38