moving to host to have some tests in parallel

This commit is contained in:
miguelgfierro 2019-07-23 17:17:50 +01:00
Родитель 6d09a63560
Коммит f57edfd983
1 изменённых файлов: 13 добавлений и 6 удалений

Просмотреть файл

@ -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