summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorChiara Marmo <chiara.marmo@inria.fr>2021-06-28 18:15:39 +0200
committerChiara Marmo <chiara.marmo@inria.fr>2021-06-28 18:15:39 +0200
commitd96daa662083aee6608d31645e4caa1950688b28 (patch)
tree36ad717edc8fb39264df2794abe7ec19859f97ef /azure-pipelines.yml
parenta3fb80213bc28b6ac1e6a7da09a2af3149a677aa (diff)
downloadnumpy-d96daa662083aee6608d31645e4caa1950688b28.tar.gz
Split pipeline. Update version of mypy to 0.902.
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 1461f5bbc..fa527f565 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -310,11 +310,10 @@ stages:
vmImage: 'ubuntu-20.04'
steps:
- script: |
- # Download and install miniconda
- MINICONDA_PATH=$HOME/miniconda
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- /bin/bash miniconda.sh -b -p $MINICONDA_PATH
- export PATH="$MINICONDA_PATH/bin:$PATH"
+ # create and activate conda environment
+ conda env create -f environment.yml
+ displayName: 'Create conda environment.'
+ - script: |
# >>> conda initialize >>>
# !! Contents within this block are 'conda init' !!
# see https://github.com/conda/conda/issues/7980
@@ -322,13 +321,11 @@ stages:
eval "$__conda_setup"
unset __conda_setup
# <<< conda initialize <<<
- # create and activate conda environment
- conda env create -f environment.yml
conda activate numpy-dev
# Run native baseline Build / Tests
- python3 runtests.py --show-build-log --cpu-baseline=native --cpu-dispatch=none \
+ python runtests.py --show-build-log --cpu-baseline=native --cpu-dispatch=none \
--debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml
- displayName: 'Run native baseline Build / Tests in conda environment.'
+ displayName: 'Run native baseline Build / Tests in conda.'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs: