summaryrefslogtreecommitdiff
path: root/.azure-pipelines/jobs/test-windows.yml
blob: 3d25587de41908af9a57c252aaed57de7326f02f (plain)
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
44
45
46
47
48
49
50
51
52
53
parameters:
  vmImage:

jobs:
- job: Test_Primary
  displayName: Test Primary

  pool:
    vmImage: ${{ parameters.vmImage }}
  strategy:
    matrix:
      Python27-x86:
        python.version: '2.7'
        python.architecture: x86
      Python35-x64:
        python.version: '3.5'
        python.architecture: x64
      Python37-x64:
        python.version: '3.7'
        python.architecture: x64
    maxParallel: 3

  steps:
  - template: ../steps/run-tests-windows.yml
    parameters:
      runIntegrationTests: true

- job: Test_Secondary
  displayName: Test Secondary
  # Don't run integration tests for these runs
  # Run after Test_Primary so we don't devour time and jobs if tests are going to fail
  dependsOn: Test_Primary

  pool:
    vmImage: ${{ parameters.vmImage }}
  strategy:
    matrix:
      # This is for Windows, so test x86 builds
      Python35-x86:
        python.version: '3.5'
        python.architecture: x86
      Python36-x86:
        python.version: '3.6'
        python.architecture: x86
      Python37-x86:
        python.version: '3.7'
        python.architecture: x86
    maxParallel: 5

  steps:
  - template: ../steps/run-tests-windows.yml
    parameters:
      runIntegrationTests: false