full-test-windows.yml 1.14 KB
Newer Older
liuzhe-lz's avatar
liuzhe-lz committed
1
2
3
4
5
6
7
8
9
trigger: none
pr: none
schedules:
- cron: 0 16 * * *
  branches:
    include: [ master ]

jobs:
- job: local_windows
10
  pool: NNI CI WINDOWS FULL TEST
liuzhe-lz's avatar
liuzhe-lz committed
11
12
13
14
  timeoutInMinutes: 120

  steps:
  - script: |
Yuge Zhang's avatar
Yuge Zhang committed
15
16
      python -m pip install -U -r dependencies/setup.txt
      python -m pip install -r dependencies/develop.txt
17
      python -m pip install -r dependencies/recommended.txt
liuzhe-lz's avatar
liuzhe-lz committed
18
    displayName: Install Python tools
19

liuzhe-lz's avatar
liuzhe-lz committed
20
21
22
23
24
  - script: |
      python -m pip uninstall nni --yes
      set NNI_RELEASE=999.0
      python setup.py build_ts
      python setup.py bdist_wheel -p win_amd64
25
      python -m pip install dist/nni-999.0-py3-none-win_amd64.whl[PPOTuner,DNGO]
liuzhe-lz's avatar
liuzhe-lz committed
26
    displayName: Install NNI
27

liuzhe-lz's avatar
liuzhe-lz committed
28
29
30
  - script: |
      cd examples/tuners/customized_tuner
      python setup.py develop --user
31
      nnictl algo register --meta meta_file.yml
liuzhe-lz's avatar
liuzhe-lz committed
32
    displayName: Install example customized tuner
33

liuzhe-lz's avatar
liuzhe-lz committed
34
35
36
37
38
39
  - script: |
      cd test
      python -m pytest ut
      echo "TODO: TypeScript UT"
    displayName: Unit test
    continueOnError: true
40

liuzhe-lz's avatar
liuzhe-lz committed
41
42
43
44
  - script: |
      cd test
      python nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts local
    displayName: Integration test