Skip to content

Commit 7232569

Browse files
authored
Merge pull request #153 from xylar/fix_azure_local_install
Fix local package installation directory in Azure
2 parents 165ebfb + 2878662 commit 7232569

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
3131
- bash: |
3232
eval "$(conda shell.bash hook)"
33-
conda create --yes --quiet --name test --use-local python=$PYTHON_VERSION \
34-
geometric_features pytest
33+
conda activate build
34+
conda create --yes --quiet --name test -c ${CONDA_PREFIX}/conda-bld/ \
35+
python=$PYTHON_VERSION geometric_features pytest
3536
displayName: Create Anaconda test environment
3637
3738
- bash: |
@@ -42,8 +43,10 @@ jobs:
4243
4344
- bash: |
4445
eval "$(conda shell.bash hook)"
45-
conda create --yes --quiet --name docs --use-local python=$PYTHON_VERSION \
46-
geometric_features sphinx mock sphinx_rtd_theme m2r
46+
conda activate build
47+
conda create --yes --quiet --name docs -c ${CONDA_PREFIX}/conda-bld/ \
48+
python=$PYTHON_VERSION geometric_features sphinx mock \
49+
sphinx_rtd_theme m2r
4750
condition: eq(variables['python.version'], '3.8')
4851
displayName: Create Anaconda docs environment
4952
@@ -141,8 +144,9 @@ jobs:
141144
142145
- bash: |
143146
eval "$(conda shell.bash hook)"
144-
conda create --yes --quiet --name test --use-local python=$PYTHON_VERSION \
145-
geometric_features pytest
147+
conda activate build
148+
conda create --yes --quiet --name test -c ${CONDA_PREFIX}/conda-bld/ \
149+
python=$PYTHON_VERSION geometric_features pytest
146150
displayName: Create Anaconda test environment
147151
148152
- bash: |

0 commit comments

Comments
 (0)