Unverified Commit 3d6ddb9a authored by J-shang's avatar J-shang Committed by GitHub
Browse files

[Test] change full test pool (#4967)

parent d5921a73
......@@ -196,7 +196,7 @@ master_doc = 'index'
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'
# Translation related settings
locale_dir = ['locales']
......@@ -406,5 +406,5 @@ epub_exclude_files = ['search.html']
# external links (for github code)
# Reference the code via :githublink:`path/to/your/example/code.py`
extlinks = {
'githublink': ('https://github.com/microsoft/nni/blob/' + git_commit_id + '/%s', 'Github link: ')
'githublink': ('https://github.com/microsoft/nni/blob/' + git_commit_id + '/%s', 'Github link: %s')
}
......@@ -31,14 +31,15 @@ stages:
condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs:
- job: linux
pool: nni-it
# move back after we complete the 1ES pool...
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 60
steps:
- template: templates/install-dependencies.yml
parameters:
platform: ubuntu-latest-gpu
python_env: venv
platform: ubuntu-latest
- template: templates/install-nni.yml
......@@ -49,7 +50,8 @@ stages:
python -m pytest compression
displayName: compression unit test
- script: |
cd test
source scripts/model_compression.sh
displayName: Model compression test
# add back after we complete the 1ES pool...
# - script: |
# cd test
# source scripts/model_compression.sh
# displayName: Model compression test
......@@ -13,7 +13,7 @@ resources:
endpoint: github-filter-connection
variables:
filter.modified.globs: 'examples/tuners/**,nni/algorithms/hpo/**'
filter.modified.globs: 'examples/tuners/**,nni/algorithms/hpo/**,pipelines/full-test-hpo.yml,'
filter.prbody.heading: '#### Test Options'
filter.prbody.optionIndex: 1
......@@ -31,14 +31,15 @@ stages:
condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs:
- job: linux
pool: nni-it
# move back after we complete the 1ES pool...
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 60
steps:
- template: templates/install-dependencies.yml
parameters:
platform: ubuntu-latest-gpu
python_env: venv
platform: ubuntu-latest
- template: templates/install-nni.yml
......@@ -56,7 +57,10 @@ stages:
- script: |
cd test
python training_service/nnitest/run_tests.py --config training_service/config/integration_tests.yml --ts local
python training_service/nnitest/run_tests.py \
--config training_service/config/integration_tests.yml \
--ts local \
--exclude mnist-pytorch-local-gpu
displayName: Integration test
# TODO: should add a test on platforms other than linux
......@@ -31,14 +31,15 @@ stages:
condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs:
- job: linux
pool: nni-it
# move back after we complete the 1ES pool...
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 60
steps:
- template: templates/install-dependencies.yml
parameters:
platform: ubuntu-latest-gpu
python_env: venv
platform: ubuntu-latest
- template: templates/install-nni.yml
......@@ -50,14 +51,15 @@ stages:
displayName: NAS test
- job: windows
pool: nni-it-windows
# move back after we complete the 1ES pool...
pool:
vmImage: windows-latest
timeoutInMinutes: 60
steps:
- template: templates/install-dependencies.yml
parameters:
platform: windows
python_env: noop
- template: templates/install-nni.yml
parameters:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment