From 12fe76f97786937e4ff1b66d13d0d19ee015495b Mon Sep 17 00:00:00 2001 From: Keewis Date: Fri, 18 Sep 2020 23:08:37 +0200 Subject: [PATCH 1/2] add a ci for doctests --- azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8061c9895ca..fa791ca0876 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: doctests + - job: TypeChecking variables: conda_env: py38 From 16a509b491eba4f855709b231009012a52ddb75c Mon Sep 17 00:00:00 2001 From: Keewis Date: Sat, 19 Sep 2020 00:40:48 +0200 Subject: [PATCH 2/2] rename the step --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fa791ca0876..74cb13dc985 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -84,7 +84,7 @@ jobs: - bash: | source activate xarray-tests python -m pytest --doctest-modules xarray --ignore xarray/tests - displayName: doctests + displayName: Run doctests - job: TypeChecking variables: