Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Use Aer from release for 3.9 test jobs #553

Merged
Merged
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
11 changes: 1 addition & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
run: python -m pip install -U tox setuptools virtualenv wheel
- name: Install and Run Tests
run: tox -e py
if: matrix.python-version != '3.9'
- name: Install and Run Tests
run: tox -e py39
if: matrix.python-version == '3.9'

tests-macos:
name: tests-python${{ matrix.python-version }}-${{ matrix.os }}
Expand Down Expand Up @@ -62,10 +58,6 @@ jobs:
run: python -m pip install -U tox setuptools virtualenv wheel cvxopt
- name: Install and Run Tests
run: tox --sitepackages -e py
if: matrix.python-version != '3.9'
- name: Install and Run Tests
run: tox --sitepackages -e py39
if: matrix.python-version == '3.9'

tests-no-opt:
name: tests-python3.8-no-optional-dependencies
Expand Down Expand Up @@ -98,8 +90,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
# TODO: Add 3.9 to the list after aer 0.8.0 release
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pylint==2.4.4
pycodestyle
qiskit-aer>=0.3.0;python_version<'3.9'
qiskit-aer>=0.3.0
scikit-learn>=0.17
Sphinx>=2.1
sphinx-rtd-theme>=0.4.0
Expand Down
9 changes: 0 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ commands =
pip install -c constraints.txt cvxpy<1.1.8
pip check
stestr run {posargs}
# Remove after qiskit-aer 0.8.0 release:
[testenv:py39]
commands =
pip install -U -c constraints.txt git+https://github.com/Qiskit/qiskit-terra.git
pip install -U -c constraints.txt git+https://github.com/Qiskit/qiskit-aer.git
pip install -U -c constraints.txt -r{toxinidir}/requirements-dev.txt
pip install -c constraints.txt cvxpy<1.1.8
pip check
stestr run {posargs}

[testenv:no-opt]
deps =
Expand Down