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' ...@@ -196,7 +196,7 @@ master_doc = 'index'
# #
# This is also used if you do content translation via gettext catalogs. # This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases. # Usually you set "language" from the command line for these cases.
language = None language = 'en'
# Translation related settings # Translation related settings
locale_dir = ['locales'] locale_dir = ['locales']
...@@ -406,5 +406,5 @@ epub_exclude_files = ['search.html'] ...@@ -406,5 +406,5 @@ epub_exclude_files = ['search.html']
# external links (for github code) # external links (for github code)
# Reference the code via :githublink:`path/to/your/example/code.py` # Reference the code via :githublink:`path/to/your/example/code.py`
extlinks = { 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: ...@@ -31,14 +31,15 @@ stages:
condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true')) condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs: jobs:
- job: linux - job: linux
pool: nni-it # move back after we complete the 1ES pool...
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 60 timeoutInMinutes: 60
steps: steps:
- template: templates/install-dependencies.yml - template: templates/install-dependencies.yml
parameters: parameters:
platform: ubuntu-latest-gpu platform: ubuntu-latest
python_env: venv
- template: templates/install-nni.yml - template: templates/install-nni.yml
...@@ -49,7 +50,8 @@ stages: ...@@ -49,7 +50,8 @@ stages:
python -m pytest compression python -m pytest compression
displayName: compression unit test displayName: compression unit test
- script: | # add back after we complete the 1ES pool...
cd test # - script: |
source scripts/model_compression.sh # cd test
displayName: Model compression test # source scripts/model_compression.sh
# displayName: Model compression test
...@@ -13,7 +13,7 @@ resources: ...@@ -13,7 +13,7 @@ resources:
endpoint: github-filter-connection endpoint: github-filter-connection
variables: 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.heading: '#### Test Options'
filter.prbody.optionIndex: 1 filter.prbody.optionIndex: 1
...@@ -31,14 +31,15 @@ stages: ...@@ -31,14 +31,15 @@ stages:
condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true')) condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs: jobs:
- job: linux - job: linux
pool: nni-it # move back after we complete the 1ES pool...
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 60 timeoutInMinutes: 60
steps: steps:
- template: templates/install-dependencies.yml - template: templates/install-dependencies.yml
parameters: parameters:
platform: ubuntu-latest-gpu platform: ubuntu-latest
python_env: venv
- template: templates/install-nni.yml - template: templates/install-nni.yml
...@@ -56,7 +57,10 @@ stages: ...@@ -56,7 +57,10 @@ stages:
- script: | - script: |
cd test 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 displayName: Integration test
# TODO: should add a test on platforms other than linux # TODO: should add a test on platforms other than linux
...@@ -31,14 +31,15 @@ stages: ...@@ -31,14 +31,15 @@ stages:
condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true')) condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs: jobs:
- job: linux - job: linux
pool: nni-it # move back after we complete the 1ES pool...
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 60 timeoutInMinutes: 60
steps: steps:
- template: templates/install-dependencies.yml - template: templates/install-dependencies.yml
parameters: parameters:
platform: ubuntu-latest-gpu platform: ubuntu-latest
python_env: venv
- template: templates/install-nni.yml - template: templates/install-nni.yml
...@@ -50,14 +51,15 @@ stages: ...@@ -50,14 +51,15 @@ stages:
displayName: NAS test displayName: NAS test
- job: windows - job: windows
pool: nni-it-windows # move back after we complete the 1ES pool...
pool:
vmImage: windows-latest
timeoutInMinutes: 60 timeoutInMinutes: 60
steps: steps:
- template: templates/install-dependencies.yml - template: templates/install-dependencies.yml
parameters: parameters:
platform: windows platform: windows
python_env: noop
- template: templates/install-nni.yml - template: templates/install-nni.yml
parameters: 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