Skip to content

Commit 17313e7

Browse files
authored
ci - show 20 slowest tests on Linux, Windows and Mac (#6334)
No change in the test execution, just a bit more output for the `Pytest Ubuntu`, `Pytest Windows`, and `Pytest MacOS` jobs. Related to #6211
1 parent 5556e72 commit 17313e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
- name: Run Quil dependencies
169169
run: docker-compose -f cirq-rigetti/docker-compose.test.yaml up -d
170170
- name: Pytest check
171-
run: check/pytest -n auto --ignore=cirq-core/cirq/contrib --rigetti-integration
171+
run: check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib --rigetti-integration
172172
- name: Stop Quil dependencies
173173
run: docker-compose -f cirq-rigetti/docker-compose.test.yaml down
174174
pip-compile:
@@ -265,7 +265,7 @@ jobs:
265265
- name: Pytest Windows
266266
run: |
267267
source dev_tools/pypath
268-
check/pytest -n auto --ignore=cirq-core/cirq/contrib
268+
check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib
269269
shell: bash
270270
macos:
271271
name: Pytest MacOS
@@ -288,7 +288,7 @@ jobs:
288288
pip install wheel
289289
pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/no-contrib.env.txt
290290
- name: Pytest check
291-
run: check/pytest -n auto --ignore=cirq-core/cirq/contrib
291+
run: check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib
292292
notebooks-stable:
293293
name: Changed Notebooks Isolated Test against Cirq stable
294294
env:

0 commit comments

Comments
 (0)