File: azure-pipelines.yml

package info (click to toggle)
python-httpx-sse 0.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: python: 715; makefile: 31; sh: 17
file content (43 lines) | stat: -rw-r--r-- 893 bytes parent folder | download
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)