moving to host to have some tests in parallel
This commit is contained in:
Родитель
6d09a63560
Коммит
f57edfd983
|
@ -16,19 +16,26 @@ jobs:
|
||||||
- job: cpu_unit_tests_linux
|
- job: cpu_unit_tests_linux
|
||||||
timeoutInMinutes: 10 # how long to run the job before automatically cancelling
|
timeoutInMinutes: 10 # how long to run the job before automatically cancelling
|
||||||
pool:
|
pool:
|
||||||
name: nlpagentpool
|
vmImage: 'ubuntu-16.04' # using a hosted machine for cpu tests
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- task: UsePythonVersion@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '3.6.8'
|
||||||
|
architecture: 'x64'
|
||||||
|
addToPath: true
|
||||||
|
displayName: 'Use Python 3.6.8'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
echo "##vso[task.prependpath]/data/anaconda/bin"
|
echo "##vso[task.prependpath]/data/anaconda/bin"
|
||||||
conda env list
|
conda env list
|
||||||
displayName: Add Conda to PATH
|
displayName: Add Conda to PATH
|
||||||
|
|
||||||
# Uncomment if needed
|
- bash: |
|
||||||
# - bash: |
|
python tools/generate_conda_file.py
|
||||||
# python tools/generate_conda_file.py
|
conda env create -n nlp_cpu -f nlp_cpu.yaml
|
||||||
# conda env create -n nlp_cpu -f nlp_cpu.yaml
|
displayName: 'Creating Conda Environment with dependencies'
|
||||||
# displayName: 'Creating Conda Environment with dependencies'
|
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
source activate nlp_cpu
|
source activate nlp_cpu
|
||||||
|
|
Загрузка…
Ссылка в новой задаче