Skip to content

Annotate test failures in CI - #217

Merged
codingjoe merged 1 commit into
mainfrom
codingjoe-ci-annotate-test-failures
Oct 27, 2026
Merged

codingjoe merged 1 commit into
mainfrom
codingjoe-ci-annotate-test-failures

Conversation

@codingjoe

Copy link
Copy Markdown
Owner

Pytest failures in CI are only visible in the raw job log, which makes them slow to find on a failing run. Installing pytest-github-actions-annotate-failures lets pytest annotate failures inline on the GitHub Actions diff.

  • Added --with=pytest-github-actions-annotate-failures to the pytest invocation in .github/workflows/ci.yml
  • Left the plugin out of project dependencies and lockfiles

@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.18%. Comparing base (fdf5209) to head (8ab7891).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #217   +/-   ##
=======================================
  Coverage   98.18%   98.18%           
=======================================
  Files          17       17           
  Lines         825      825           
=======================================
  Hits          810      810           
  Misses         15       15           
Flag Coverage Δ
python-3.14-django-6.0 80.84% <ø> (ø)
python-3.14-django-6.1 98.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codingjoe
codingjoe merged commit 242f576 into main Oct 27, 2026
10 checks passed
@codingjoe
codingjoe deleted the codingjoe-ci-annotate-test-failures branch October 27, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant