From 20f05318835b8194d4e70241f964a9733a57663a Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 20 Sep 2022 16:10:17 +0200 Subject: [PATCH] Re-try failing tests in CI with maximum verbosity This allows getting more insight into the tests that fail consistently. --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d55c1bb0c4..c2ecc315810 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -195,7 +195,15 @@ jobs: PIP_USER: 1 run: >- PATH="${HOME}/Library/Python/3.11/bin:${HOME}/.local/bin:${PATH}" - make vvtest + make test + shell: bash + - name: Re-run the failing tests with maximum verbosity + if: failure() + env: + COLOR: yes + AIOHTTP_NO_EXTENSIONS: ${{ matrix.no-extensions }} + run: >- # `exit 1` makes sure that the job remains red with flaky runs + pytest --no-cov -vvvvv --lf && exit 1 shell: bash - name: Turn coverage into xml env: