@@ -201,20 +201,12 @@ jobs:
201
201
cache-dependency-path : |
202
202
**/requirements.txt
203
203
dev_tools/requirements/**/*.txt
204
- - name : Install system packages
205
- run : |
206
- sudo apt-get update
207
- sudo apt-get install libffi7
208
204
- name : Install requirements
209
205
run : |
210
206
pip install --upgrade setuptools wheel
211
207
pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/dev.env.txt
212
- - name : Run Quil dependencies
213
- run : docker compose -f cirq-rigetti/docker-compose.test.yaml up -d
214
208
- name : Pytest check
215
- run : check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib --rigetti-integration
216
- - name : Stop Quil dependencies
217
- run : docker compose -f cirq-rigetti/docker-compose.test.yaml down
209
+ run : check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib --ignore=cirq-rigetti
218
210
# TODO(#6706) remove after we start using NumPy 2.0 in regular pytest
219
211
pytest-numpy-2 :
220
212
if : github.repository_owner == 'quantumlib'
@@ -235,10 +227,6 @@ jobs:
235
227
cache-dependency-path : |
236
228
**/requirements.txt
237
229
dev_tools/requirements/**/*.txt
238
- - name : Install system packages
239
- run : |
240
- sudo apt-get update
241
- sudo apt-get install libffi7
242
230
- name : Install requirements
243
231
run : |
244
232
pip install wheel
@@ -299,24 +287,16 @@ jobs:
299
287
cache-dependency-path : |
300
288
**/requirements.txt
301
289
dev_tools/requirements/**/*.txt
302
- - name : Install system requirements
303
- run : |
304
- sudo apt-get update
305
- sudo apt-get install libffi7
306
290
- name : Install requirements
307
291
run : |
308
292
pip install --upgrade setuptools wheel
309
293
pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/dev.env.txt
310
- - name : Run Quil dependencies
311
- run : docker compose -f cirq-rigetti/docker-compose.test.yaml up -d
312
294
- name : Coverage check
313
- run : check/pytest-and-incremental-coverage -n auto --rigetti-integration
295
+ run : check/pytest-and-incremental-coverage -n auto --ignore=cirq-rigetti
314
296
- name : Upload coverage reports to Codecov
315
297
uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5
316
298
env :
317
299
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
318
- - name : Stop Quil dependencies
319
- run : docker compose -f cirq-rigetti/docker-compose.test.yaml down
320
300
windows :
321
301
if : github.repository_owner == 'quantumlib'
322
302
name : Pytest Windows
@@ -343,7 +323,7 @@ jobs:
343
323
- name : Pytest Windows
344
324
run : |
345
325
source dev_tools/pypath
346
- check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib
326
+ check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib --ignore=cirq-rigetti
347
327
shell : bash
348
328
macos :
349
329
if : github.repository_owner == 'quantumlib'
@@ -369,7 +349,7 @@ jobs:
369
349
pip install --upgrade setuptools wheel
370
350
pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/no-contrib.env.txt
371
351
- name : Pytest check
372
- run : check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib
352
+ run : check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib --ignore=cirq-rigetti
373
353
notebooks-stable :
374
354
if : github.repository_owner == 'quantumlib'
375
355
name : Changed Notebooks Isolated Test against Cirq stable
0 commit comments