pipelines-it-local-windows.yml 811 Bytes
Newer Older
chicm-ms's avatar
chicm-ms committed
1
2
3
4
5
6
7
8
9
10
11
12
jobs:
- job: 'integration_test_local_windows'
  timeoutInMinutes: 120

  steps:
  - script: |
      powershell.exe -file install.ps1
    displayName: 'Install nni toolkit via source code'
  - script: |
      python -m pip install scikit-learn==0.20.0 --user
      python -m pip install keras==2.1.6 --user
      python -m pip install torchvision===0.4.1 torch===1.3.1 -f https://download.pytorch.org/whl/torch_stable.html --user
13
      python -m pip install tensorflow-gpu==1.15.2 --user
chicm-ms's avatar
chicm-ms committed
14
15
16
17
18
19
20
21
22
    displayName: 'Install dependencies for integration tests'
  - script: |
      cd test
      powershell.exe -file scripts/unittest.ps1
    displayName: 'unit test'
  - script: |
      cd test
      python nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts local
    displayName: 'Integration tests'