integration-test-local-windows.yml 1.12 KB
Newer Older
1
2
3
trigger: none
pr: none
schedules:
Yuge Zhang's avatar
Yuge Zhang committed
4
- cron: 0 20 * * *
5
6
  branches:
    include: [ master ]
7
  always: true
8
9
10

jobs:
- job: windows
Yuge Zhang's avatar
Yuge Zhang committed
11
  pool: nni-it-1es-windows
12
13
14
  timeoutInMinutes: 120

  steps:
15
16
17
  - template: templates/check-gpu-status.yml
    parameters:
      platform: windows
18
19
20
21

  - template: templates/install-dependencies.yml
    parameters:
      platform: windows
22
      python_env: noop
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

  - template: templates/install-nni.yml
    parameters:
      user: false

  - template: templates/install-customized-tuner.yml

  - powershell: |
      python test/vso_tools/ssl_patch.py
    displayName: SSL patch

  - powershell: |
      cd test
      python -m pytest ut
      echo "TODO: TypeScript UT"
    displayName: Unit test
    continueOnError: true

  # TODO: the agent has no GPU driver
  # We can't install it on-the-fly because we can't elevate the permission here.
  - powershell: |
      cd test
45
      python training_service/nnitest/run_tests.py --config training_service/config/integration_tests.yml --ts local
46
47
48
    displayName: Integration test

  - template: templates/save-crashed-info.yml
Yuge Zhang's avatar
Yuge Zhang committed
49
50
    parameters:
      training_service: local