Green CI pipeline hid three coverage gaps, closed on a free GitHub plan
A team found that a fully green CI pipeline on a site they worked on did not reflect what was actually tested. Several backend services had test suites that never ran because they were missing from the CI workflow. Once enabled, many database and async tests errored, so a conftest.py was added that skips database tests locally but fails loudly in CI when the test database is unreachable. A migrations test was also introduced to catch drift between Alembic migrations and the models, and background jobs were redirected so they stop failing silently. Because branch protection requires a paid GitHub plan, the team enforced the check through a deploy script instead.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in