Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 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 @@ -74,7 +74,25 @@ jobs:
testResultsFiles: 'junit/test-*.xml'
testRunTitle: 'Publish test results for Python $(python.version)'

- job: CheckBuild
pool:
vmImage: 'ubuntu-18.04'
steps:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.8'
displayName: 'Use Python 3.8'

- script: |
python -m pip install --upgrade pip
pip install setuptools setuptools_scm pytoml wheel twine
displayName: 'Install build dependencies'

- script: pip list
displayName: 'Display installed versions'

- script: |
python setup.py check --restructuredtext --strict
rst2html.py --halt=2 README.rst >/dev/null
displayName: 'rst2html'
python setup.py sdist bdist_wheel
twine check dist/*
displayName: 'Build & Twine check'