Skip to content

Commit 90f8482

Browse files
committed
Avoid modifying tracked file before pypi upload
1 parent fa96182 commit 90f8482

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

azure-pipelines.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ stages:
8282
- bash: |
8383
source "${HOME}/conda/etc/profile.d/conda.sh"
8484
source "${HOME}/conda/etc/profile.d/mamba.sh"
85-
echo " - python="$(python.version) >> environment_test.yml
86-
mamba env create -f environment_test.yml
85+
cp environment_test.yml environment_test_with_pyversion.yml
86+
echo " - python="$(python.version) >> environment_test_with_pyversion.yml
87+
mamba env create -f environment_test_with_pyversion.yml
8788
conda activate discretize-test
8889
pip install pytest-azurepipelines
8990
displayName: Create Anaconda testing environment

0 commit comments

Comments
 (0)