Skip to content
14 changes: 10 additions & 4 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
vmImage: 'ubuntu-18.04'
strategy:
matrix:
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'
Python36:
python.version: '3.6'
anndata_dev:
python.version: '3.7'
python.version: '3.8'
ANNDATA_DEV: yes
RUN_COVERAGE: yes
steps:
Expand Down Expand Up @@ -76,6 +76,12 @@ jobs:
testRunTitle: 'Publish test results for Python $(python.version)'

- script: |
python setup.py check --restructuredtext --strict
rst2html.py --halt=2 README.rst >/dev/null
displayName: 'rst2html'

- script: |
pip install setuptools twine
python setup.py sdist bdist_wheel
twine check dist/*
condition: in(variables['python.version'], '3.8')
displayName: 'Twine check'