Skip to content

Commit

Permalink
Merge branch 'main' into controlflow/stochastic_swap
Browse files Browse the repository at this point in the history
  • Loading branch information
ewinston authored Sep 3, 2022
2 parents ca4f477 + aca01eb commit cd9c5cf
Show file tree
Hide file tree
Showing 212 changed files with 9,902 additions and 1,637 deletions.
4 changes: 2 additions & 2 deletions .azure/docs-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel -c constraints.txt
pip install -U tox -c constraints.txt
python -m pip install --upgrade pip setuptools wheel
pip install -U tox
sudo apt-get update
sudo apt-get install -y graphviz
displayName: 'Install dependencies'
Expand Down
4 changes: 2 additions & 2 deletions .azure/lint-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv -c constraints.txt
python -m pip install --upgrade pip setuptools wheel virtualenv
virtualenv test-job
source test-job/bin/activate
pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt
pip install -U -c constraints.txt -e .
pip install -U "qiskit-aer" -c constraints.txt
python setup.py build_ext --inplace
pip install -e .
displayName: 'Install dependencies'
env:
SETUPTOOLS_ENABLE_FEATURES: "legacy-editable"
Expand Down
6 changes: 4 additions & 2 deletions .azure/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- bash: |
set -e
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv -c constraints.txt
python -m pip install --upgrade pip setuptools wheel virtualenv
virtualenv test-job
displayName: "Prepare venv"
Expand All @@ -71,6 +71,8 @@ jobs:
set -e
source test-job/bin/activate
pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt
# Install setuptools-rust for building sdist
pip install -U -c constraints.txt setuptools-rust
python setup.py sdist
pip install -U -c constraints.txt dist/qiskit-terra*.tar.gz
displayName: "Install Terra from sdist"
Expand All @@ -85,7 +87,6 @@ jobs:
env:
SETUPTOOLS_ENABLE_FEATURES: "legacy-editable"
- bash: |
set -e
source test-job/bin/activate
Expand All @@ -111,6 +112,7 @@ jobs:
popd
env:
QISKIT_PARALLEL: FALSE
RUST_BACKTRACE: 1
displayName: 'Run tests'
- bash: |
Expand Down
6 changes: 3 additions & 3 deletions .azure/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ parameters:
jobs:
- job: "MacOS_Tests_Python${{ replace(parameters.pythonVersion, '.', '') }}"
displayName: "Test macOS Python ${{ parameters.pythonVersion }}"
pool: {vmImage: 'macOS-10.15'}
pool: {vmImage: 'macOS-11'}

variables:
QISKIT_SUPPRESS_PACKAGING_WARNINGS: Y
Expand Down Expand Up @@ -41,12 +41,11 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv -c constraints.txt
python -m pip install --upgrade pip setuptools wheel virtualenv
virtualenv test-job
source test-job/bin/activate
pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt
pip install -U -c constraints.txt -e .
python setup.py build_ext --inplace
pip check
displayName: 'Install dependencies'
env:
Expand All @@ -61,6 +60,7 @@ jobs:
python ./tools/verify_parallel_map.py
env:
QISKIT_PARALLEL: FALSE
RUST_BACKTRACE: 1
displayName: "Run tests"
- bash: |
Expand Down
4 changes: 2 additions & 2 deletions .azure/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv -c constraints.txt
python -m pip install --upgrade pip setuptools wheel virtualenv
virtualenv test-job
source test-job/Scripts/activate
pip install -r requirements.txt -r requirements-dev.txt -c constraints.txt
pip install -c constraints.txt -e .
pip install "z3-solver" -c constraints.txt
python setup.py build_ext --inplace
pip check
displayName: 'Install dependencies'
env:
Expand All @@ -54,6 +53,7 @@ jobs:
LANG: 'C.UTF-8'
PYTHONIOENCODING: 'utf-8:backslashreplace'
QISKIT_PARALLEL: FALSE
RUST_BACKTRACE: 1
displayName: 'Run tests'
- bash: |
Expand Down
1 change: 0 additions & 1 deletion .azure/tutorials-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt
pip install -c constraints.txt -e .
pip install "qiskit-ibmq-provider" "qiskit-aer" "z3-solver" "qiskit-ignis" "matplotlib>=3.3.0" sphinx nbsphinx sphinx_rtd_theme cvxpy -c constraints.txt
python setup.py build_ext --inplace
sudo apt-get update
sudo apt-get install -y graphviz pandoc
pip check
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/randomized_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
SETUPTOOLS_ENABLE_FEATURES: "legacy-editable"
- name: Run randomized tests
run: make test_randomized
env:
RUST_BACKTRACE: 1
- name: Create comment on failed test run
if: ${{ failure() }}
uses: peter-evans/create-or-update-comment@v1
Expand Down
Loading

0 comments on commit cd9c5cf

Please sign in to comment.