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

jobs:
- job: local_windows
  pool: NNI CI WINDOWS2
  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
liuzhe-lz's avatar
liuzhe-lz committed
17
    displayName: Install Python tools
18

liuzhe-lz's avatar
liuzhe-lz committed
19
20
21
22
23
  - 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
24
      python -m pip install dist/nni-999.0-py3-none-win_amd64.whl[PPOTuner]
liuzhe-lz's avatar
liuzhe-lz committed
25
    displayName: Install NNI
26

liuzhe-lz's avatar
liuzhe-lz committed
27
  - script: |
Yuge Zhang's avatar
Yuge Zhang committed
28
29
      python -m pip install -r dependencies/recommended.txt
      python -m pip install -e .[DNGO]
liuzhe-lz's avatar
liuzhe-lz committed
30
    displayName: Install extra dependencies
31

J-shang's avatar
J-shang committed
32
33
34
35
36
37
  # Need del later
  - script: |
      set -e
      python interim_vision_patch.py
    displayName: Vision MNIST Patch

liuzhe-lz's avatar
liuzhe-lz committed
38
39
40
  - script: |
      cd examples/tuners/customized_tuner
      python setup.py develop --user
41
      nnictl algo register --meta meta_file.yml
liuzhe-lz's avatar
liuzhe-lz committed
42
    displayName: Install example customized tuner
43

liuzhe-lz's avatar
liuzhe-lz committed
44
45
46
47
48
49
  - script: |
      cd test
      python -m pytest ut
      echo "TODO: TypeScript UT"
    displayName: Unit test
    continueOnError: true
50

liuzhe-lz's avatar
liuzhe-lz committed
51
52
53
54
  - script: |
      cd test
      python nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts local
    displayName: Integration test