|
6 | 6 | - "*"
|
7 | 7 |
|
8 | 8 | jobs:
|
9 |
| -- job: pytest |
10 |
| - strategy: |
11 |
| - # use cross-product when https://github.com/microsoft/azure-pipelines-yaml/issues/20 is solved |
12 |
| - matrix: |
13 |
| - UbuntuPy36: |
14 |
| - python.version: '3.6' |
15 |
| - vmImage: 'ubuntu-latest' |
16 |
| - tox_env: 'py36' |
17 |
| - UbuntuPy37: |
18 |
| - python.version: '3.7' |
19 |
| - vmImage: 'ubuntu-latest' |
20 |
| - tox_env: 'py37' |
21 |
| - UbuntuPy38: |
22 |
| - python.version: '3.8' |
23 |
| - vmImage: 'ubuntu-latest' |
24 |
| - tox_env: 'py38' |
25 |
| - |
26 |
| - macOSPy36: |
27 |
| - python.version: '3.6' |
28 |
| - vmImage: 'macOS-latest' |
29 |
| - tox_env: 'py36' |
30 |
| - macOSPy37: |
31 |
| - python.version: '3.7' |
32 |
| - vmImage: 'macOS-latest' |
33 |
| - tox_env: 'py37' |
34 |
| - macOSPy38: |
35 |
| - python.version: '3.8' |
36 |
| - vmImage: 'macOS-latest' |
37 |
| - tox_env: 'py38' |
38 |
| - |
39 |
| - WindowsServerPy36: |
40 |
| - python.version: '3.6' |
41 |
| - vmImage: 'vs2017-win2016' |
42 |
| - tox_env: 'py36' |
43 |
| - WindowsServerPy37: |
44 |
| - python.version: '3.7' |
45 |
| - vmImage: 'vs2017-win2016' |
46 |
| - tox_env: 'py37' |
47 |
| - WindowsServerPy38: |
48 |
| - python.version: '3.8' |
49 |
| - vmImage: 'vs2017-win2016' |
50 |
| - tox_env: 'py38' |
51 |
| - |
52 |
| - WindowsPy36: |
53 |
| - python.version: '3.6' |
54 |
| - vmImage: 'windows-latest' |
55 |
| - tox_env: 'py36' |
56 |
| - WindowsPy37: |
57 |
| - python.version: '3.7' |
58 |
| - vmImage: 'windows-latest' |
59 |
| - tox_env: 'py37' |
60 |
| - WindowsPy38: |
61 |
| - python.version: '3.8' |
62 |
| - vmImage: 'windows-latest' |
63 |
| - tox_env: 'py38' |
64 |
| - |
65 |
| - pool: |
66 |
| - vmImage: '$(vmImage)' |
67 |
| - steps: |
68 |
| - - task: UsePythonVersion@0 |
69 |
| - inputs: |
70 |
| - versionSpec: '$(python.version)' |
71 |
| - - script: pip install tox |
72 |
| - displayName: Install tox |
73 |
| - - script: tox -e $(tox_env)-mindeps |
74 |
| - displayName: Run the tests with minimal dependencies |
75 |
| - - script: tox -e clean |
76 |
| - displayName: Clean |
77 |
| - - script: tox -e $(tox_env)-alldeps |
78 |
| - displayName: Run the tests |
79 |
| - |
80 |
| -- job: coverage |
81 |
| - steps: |
82 |
| - - task: UsePythonVersion@0 |
83 |
| - inputs: |
84 |
| - versionSpec: '3.7' |
85 |
| - - script: pip install tox |
86 |
| - displayName: Install tox |
87 |
| - - script: tox -e py37-alldeps,report |
88 |
| - displayName: Run the tests and generate coverage |
89 |
| - - script: | |
90 |
| - pip install codecov |
91 |
| - codecov -t $(CODECOV_TOKEN) -f .coverage.xml |
92 |
| - displayName: Test upload coverage |
93 |
| -
|
94 |
| -- job: pre_commit |
95 |
| - steps: |
96 |
| - - task: UsePythonVersion@0 |
97 |
| - inputs: |
98 |
| - versionSpec: '3.7' |
99 |
| - - script: pip install tox |
100 |
| - displayName: Install tox |
101 |
| - - script: tox -e pre-commit |
102 |
| - displayName: Lining tests |
103 |
| - |
104 | 9 | - job: authors_check
|
105 | 10 | steps:
|
106 | 11 | - script: |
|
|
0 commit comments