2022-06-05 07:14:20 +03:00
|
|
|
trigger: none
|
|
|
|
pr: none
|
|
|
|
schedules:
|
2022-06-16 03:27:41 +03:00
|
|
|
- cron: 0 20 * * *
|
2022-06-05 07:14:20 +03:00
|
|
|
branches:
|
|
|
|
include: [ master ]
|
2022-08-23 09:59:06 +03:00
|
|
|
always: true
|
2022-06-05 07:14:20 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: windows
|
2022-07-08 06:13:41 +03:00
|
|
|
pool: nni-it-1es-windows
|
2022-06-05 07:14:20 +03:00
|
|
|
timeoutInMinutes: 120
|
|
|
|
|
|
|
|
steps:
|
2022-08-15 04:49:31 +03:00
|
|
|
- template: templates/check-gpu-status.yml
|
|
|
|
parameters:
|
|
|
|
platform: windows
|
2022-06-05 07:14:20 +03:00
|
|
|
|
|
|
|
- template: templates/install-dependencies.yml
|
|
|
|
parameters:
|
|
|
|
platform: windows
|
2022-06-05 12:18:02 +03:00
|
|
|
python_env: noop
|
2022-06-05 07:14:20 +03:00
|
|
|
|
|
|
|
- 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
|
2022-08-15 04:49:31 +03:00
|
|
|
python training_service/nnitest/run_tests.py --config training_service/config/integration_tests.yml --ts local
|
2022-06-05 07:14:20 +03:00
|
|
|
displayName: Integration test
|
|
|
|
|
|
|
|
- template: templates/save-crashed-info.yml
|
2022-07-08 06:13:41 +03:00
|
|
|
parameters:
|
|
|
|
training_service: local
|