Skip to content

Commit

Permalink
Fix azure pipelines (qiskit-community#430)
Browse files Browse the repository at this point in the history
In qiskit-community#422 the azure pipelines jobs were updated to simplify the dependency
installation to no longer require build scs against openblas. However
there was a bug in that which caused the jobs to not really run, but
still return success. This commit corrects the oversight so we're still
running CI for windows and actually testing it.
  • Loading branch information
mtreinish authored Jun 19, 2020
1 parent c02e83e commit e8a559f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ jobs:
displayName: Add conda to PATH
- script: conda create --yes --quiet --name qiskit-ignis python=%PYTHON_VERSION%
displayName: Create Anaconda environment
- script: |
call activate qiskit-ignis
- bash: |
set -e
set -x
source activate qiskit-ignis
conda config --add channels conda-forge
conda install cvxopt
conda install cvxopt -y
python -m pip install -c constraints.txt --upgrade pip virtualenv setuptools
pip install -c constraints.txt -U tox
tox --sitepackages -e%TOXENV%
tox --sitepackages
displayName: 'Install dependencies and run tests'

0 comments on commit e8a559f

Please sign in to comment.