Skip to content

Commit 0af238c

Browse files
authored
add a ci for doctests (#4437)
* add a ci for doctests * rename the step
1 parent 7d389db commit 0af238c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

azure-pipelines.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ jobs:
7474
- bash: black --check .
7575
displayName: black formatting check
7676

77+
- job: Doctests
78+
variables:
79+
conda_env: py38
80+
pool:
81+
vmImage: 'ubuntu-16.04'
82+
steps:
83+
- template: ci/azure/install.yml
84+
- bash: |
85+
source activate xarray-tests
86+
python -m pytest --doctest-modules xarray --ignore xarray/tests
87+
displayName: Run doctests
88+
7789
- job: TypeChecking
7890
variables:
7991
conda_env: py38

0 commit comments

Comments
 (0)