1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
resources:
repositories:
- repository: templates
type: github
endpoint: github
name: florimondmanca/azure-pipelines-templates
ref: refs/tags/6.3
trigger:
- master
- refs/tags/*
pr:
- master
variables:
- name: CI
value: "true"
- name: PIP_CACHE_DIR
value: $(Pipeline.Workspace)/.cache/pip
- group: pypi-credentials
stages:
- stage: test
jobs:
- template: job--python-check.yml@templates
parameters:
pythonVersion: "3.13"
- template: job--python-test.yml@templates
parameters:
jobs:
py39:
py313:
coverage: true
- stage: publish
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
jobs:
- template: job--python-publish.yml@templates
parameters:
pythonVersion: "3.13"
token: $(pypiToken)
|