1111 type : string
1212 required : true
1313 default : cibuildwheel==3.2.0
14- py_test_deps :
15- type : string
16- required : true
17- default : --only-binary=numpy,scipy,qiskit,qiskit-aer pytest numpy==2.3.3 scipy==1.16.2 qiskit==2.2.0 qiskit-aer==0.17.2
1814
1915jobs :
2016 rust :
9894 needs : python_sdist
9995 strategy :
10096 matrix :
101- os : [ubuntu-24.04, windows-2022 , macos-13, macos-14]
97+ os : [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, windows-11-arm , macos-13, macos-14]
10298 runs-on : ${{ matrix.os }}
10399 steps :
104100 - name : Install Python
@@ -132,9 +128,8 @@ jobs:
132128 needs : python_wheels
133129 strategy :
134130 matrix :
135- os : [ubuntu-24.04, windows-2022, macos-13, macos-14]
136- # We need pre-built wheels to be available.
137- python : ['3.11', '3.12', '3.13']
131+ os : [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, windows-11-arm, macos-13, macos-14]
132+ python : ['3.11', '3.12', '3.13', '3.14']
138133 runs-on : ${{ matrix.os }}
139134 steps :
140135 - uses : actions/setup-python@v5
@@ -151,10 +146,41 @@ jobs:
151146 - name : Prepare environment
152147 run : |
153148 pip install --only-binary=qblaze --no-index --find-links=dist qblaze
154- pip install ${{ inputs.py_test_deps }}
149+ pip install --only-binary=numpy pytest numpy==2.3.4
155150
156151 - name : Run tests
157- run : pytest
152+ run : pytest --ignore tests/test_qiskit.py
158153
159154 - name : Run random circuits
160155 run : python tests/rand-circuit.py 20
156+
157+ qiskit_test :
158+ name : Run Qiskit ${{ matrix.qiskit }} tests on ${{ matrix.os }}
159+ needs : python_wheels
160+ strategy :
161+ matrix :
162+ os : [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, macos-13, macos-14]
163+ # Qiskit binaries are not available for Windows on ARM
164+ # Qiskit Aer binaries are not available for Python 3.14
165+ python : ['3.11', '3.13']
166+ qiskit : ['1.4.5', '2.2.1']
167+ runs-on : ${{ matrix.os }}
168+ steps :
169+ - uses : actions/setup-python@v5
170+ with :
171+ python-version : ${{ matrix.python }}
172+ - uses : actions/checkout@v4
173+
174+ - name : Download wheels
175+ uses : actions/download-artifact@v4
176+ with :
177+ name : python-wheels-${{ matrix.os }}
178+ path : dist
179+
180+ - name : Prepare environment
181+ run : |
182+ pip install --only-binary=qblaze --no-index --find-links=dist qblaze
183+ pip install --only-binary=numpy,scipy,qiskit,qiskit-aer pytest numpy==2.3.4 scipy==1.16.2 qiskit==${{ matrix.qiskit }} qiskit-aer==0.17.2
184+
185+ - name : Run tests
186+ run : pytest tests/test_qiskit.py
0 commit comments