Skip to content

Commit

Permalink
Backport PR #1602: add twine check to azure CI + 3.8 matrix (#1607)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Heumos <[email protected]>
  • Loading branch information
meeseeksmachine and Zethson committed Jan 25, 2021
1 parent ac89e59 commit 1069451
Showing 1 changed file with 24 additions and 6 deletions.
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'

0 comments on commit 1069451

Please sign in to comment.