From 23b96c3bb13828e6ea5efc801e98a4e0a20a0658 Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Tue, 27 Oct 2026 16:22:44 +0100 Subject: [PATCH] Annotate test failures in CI --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cda143e..8726bcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} - - run: uv run --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" + - run: uv run --with=pytest-github-actions-annotate-failures --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" - uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -67,7 +67,7 @@ jobs: - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} - - run: uv run --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" + - run: uv run --with=pytest-github-actions-annotate-failures --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" pytest-extras: name: Pytest strategy: @@ -92,7 +92,7 @@ jobs: - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} - - run: uv run --extra ${{ matrix.extra }} --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" + - run: uv run --with=pytest-github-actions-annotate-failures --extra ${{ matrix.extra }} --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" - uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }}