From f57edfd9836e16d18ae51ba9aac19fd6c25ecafc Mon Sep 17 00:00:00 2001 From: miguelgfierro Date: Tue, 23 Jul 2019 17:17:50 +0100 Subject: [PATCH] moving to host to have some tests in parallel --- tests/ci/cpu_unit_tests_linux.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/tests/ci/cpu_unit_tests_linux.yml b/tests/ci/cpu_unit_tests_linux.yml index 71e5bdf..113fd64 100644 --- a/tests/ci/cpu_unit_tests_linux.yml +++ b/tests/ci/cpu_unit_tests_linux.yml @@ -16,19 +16,26 @@ jobs: - job: cpu_unit_tests_linux timeoutInMinutes: 10 # how long to run the job before automatically cancelling pool: - name: nlpagentpool + vmImage: 'ubuntu-16.04' # using a hosted machine for cpu tests steps: + + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.6.8' + architecture: 'x64' + addToPath: true + displayName: 'Use Python 3.6.8' + - bash: | echo "##vso[task.prependpath]/data/anaconda/bin" conda env list displayName: Add Conda to PATH -# Uncomment if needed -# - bash: | -# python tools/generate_conda_file.py -# conda env create -n nlp_cpu -f nlp_cpu.yaml -# displayName: 'Creating Conda Environment with dependencies' + - bash: | + python tools/generate_conda_file.py + conda env create -n nlp_cpu -f nlp_cpu.yaml + displayName: 'Creating Conda Environment with dependencies' - bash: | source activate nlp_cpu