From ad2de47c4237e189a2b4f51514aba1e58bd9234c Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Tue, 10 Nov 2020 13:02:58 +0100 Subject: [PATCH] Fix local package installation directory --- azure-pipelines.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fa85b87..ed40e5b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,8 +43,8 @@ jobs: - bash: | eval "$(conda shell.bash hook)" - conda create --yes --quiet --name test --use-local python=$PYTHON_VERSION \ - pyremap pytest + conda create --yes --quiet --name test -c ${CONDA_PREFIX}/conda-bld/ \ + python=$PYTHON_VERSION pyremap pytest displayName: Create Anaconda test environment - bash: | @@ -55,8 +55,8 @@ jobs: - bash: | eval "$(conda shell.bash hook)" - conda create --yes --quiet --name docs --use-local python=$PYTHON_VERSION \ - pyremap sphinx mock sphinx_rtd_theme m2r + conda create --yes --quiet --name test -c ${CONDA_PREFIX}/conda-bld/ \ + python=$PYTHON_VERSION pyremap sphinx mock sphinx_rtd_theme m2r condition: eq(variables['python.version'], '3.8') displayName: Create Anaconda docs environment @@ -154,8 +154,8 @@ jobs: - bash: | eval "$(conda shell.bash hook)" - conda create --yes --quiet --name test --use-local python=$PYTHON_VERSION pyremap \ - pytest sphinx mock sphinx_rtd_theme m2r + conda create --yes --quiet --name test -c ${CONDA_PREFIX}/conda-bld/ \ + python=$PYTHON_VERSION pyremap pytest sphinx mock sphinx_rtd_theme m2r displayName: Create Anaconda test environment - bash: |