From bc5750c9c2a1aadc82208a00179952959a70e6d7 Mon Sep 17 00:00:00 2001 From: Alex Hall Date: Wed, 13 Aug 2025 16:47:05 +0200 Subject: [PATCH] Add --durations=100 to all pytest calls in CI --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e685ee7546..5791ab8050 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -163,7 +163,7 @@ jobs: - run: mkdir .coverage - run: uv sync --only-dev - - run: uv run ${{ matrix.install.command }} coverage run -m pytest -n auto --dist=loadgroup + - run: uv run ${{ matrix.install.command }} coverage run -m pytest --durations=100 -n auto --dist=loadgroup env: COVERAGE_FILE: .coverage/.coverage.${{ matrix.python-version }}-${{ matrix.install.name }} @@ -204,7 +204,7 @@ jobs: - run: unset UV_FROZEN - - run: uv run --all-extras --resolution lowest-direct coverage run -m pytest -n auto --dist=loadgroup + - run: uv run --all-extras --resolution lowest-direct coverage run -m pytest --durations=100 -n auto --dist=loadgroup env: COVERAGE_FILE: .coverage/.coverage.${{matrix.python-version}}-lowest-versions