Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .ado/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,24 @@ jobs:
displayName: Set Python version

- script: |
pip install pytest pytest-azurepipelines pytest-cov pytest-xdist
displayName: Install pytest dependencies
python -m pip install --upgrade pip
pip install pytest pytest-azurepipelines pytest-cov pytest-xdist tox
displayName: Install test dependencies

- script: |
pip freeze
displayName: List installed packages

- script: |
cd $(Build.SourcesDirectory)/azure-quantum
pip install .[qiskit,cirq,qsharp,dev]
pytest --numprocesses $(PYTEST_MAX_PARALLEL_TESTS) --cov-report term --cov=azure.quantum --junitxml test-output-azure-quantum.xml $(Build.SourcesDirectory)/azure-quantum
pip install ".[cirq,qsharp,dev]"
pytest --numprocesses $(PYTEST_MAX_PARALLEL_TESTS) --cov-report term --cov=azure.quantum --junitxml test-output-azure-quantum.xml --ignore tests/unit/test_qiskit.py --ignore tests/unit/test_session_qiskit.py $(Build.SourcesDirectory)/azure-quantum
displayName: Run azure-quantum unit tests

- script: |
cd $(Build.SourcesDirectory)/azure-quantum
tox -e py311-qiskit1,py311-qiskit2
displayName: Run Qiskit matrix tests

- task: PublishTestResults@2
displayName: 'Publish tests results (python)'
Expand Down
14 changes: 10 additions & 4 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,25 @@ extends:
displayName: Set Python version

- script: |
pip install pytest pytest-azurepipelines pytest-cov pytest-xdist
displayName: Install pytest dependencies
python -m pip install --upgrade pip
pip install pytest pytest-azurepipelines pytest-cov pytest-xdist tox
displayName: Install test dependencies

- script: |
pip freeze
displayName: List installed packages

- script: |
cd $(Build.SourcesDirectory)/azure-quantum
pip install .[qiskit,cirq,qsharp,dev]
pytest --numprocesses $(PYTEST_MAX_PARALLEL_TESTS) --cov-report term --cov=azure.quantum --junitxml test-output-azure-quantum.xml $(Build.SourcesDirectory)/azure-quantum
pip install ".[cirq,qsharp,dev]"
pytest --numprocesses $(PYTEST_MAX_PARALLEL_TESTS) --cov-report term --cov=azure.quantum --junitxml test-output-azure-quantum.xml --ignore tests/unit/test_qiskit.py --ignore tests/unit/test_session_qiskit.py $(Build.SourcesDirectory)/azure-quantum
displayName: Run Unit-tests

- script: |
cd $(Build.SourcesDirectory)/azure-quantum
tox -e py311-qiskit1,py311-qiskit2
displayName: Run Qiskit matrix tests

- task: PublishTestResults@2
displayName: 'Publish test results (python)'
condition: succeededOrFailed()
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ coverage.xml
htmlcov/

# Other
*.ini
dist/
temp/
.[v]env/
Expand Down
14 changes: 14 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ required to debug changes to any libraries licensed under the GNU Lesser General

---------------------------------------------------------

qiskit-ionq helpers and exceptions (commit cea8f9874b992f82a35648582c06958869370c69) - Apache-2.0

Portions of azure.quantum.qiskit.backends._qiskit_ionq.py and azure-quantum/tests/unit/test_qiskit.py
are adapted from qiskit-community/qiskit-ionq (ionq_gates.py, helpers.py, and exceptions.py) to
support Qiskit BackendV2.
Copyright 2017-2018 IBM and 2020-2021 IonQ, Inc.

Licensed under the Apache License, Version 2.0. A copy of the license text
appears within this NOTICE file and is available at http://www.apache.org/licenses/LICENSE-2.0.

---------------------------------------------------------

---------------------------------------------------------

asttokens 2.0.5 - Apache-2.0


Expand Down
Loading
Loading