Separate coverage badge posting into non-fatal CI step #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Coverage badge posting is the last command in the
teststep. If the Gitea API is unreachable or secrets are misconfigured, the entire test step fails, blocking merges even though tests actually passed.Fix
Split into a separate
coverage-badgestep withfailure: ignore:Woodpecker shares the workspace volume between steps, so
pytest.outpersists.Also add
depends_on: [lint]to the test step so lint runs first (currently they run in parallel, wasting resources when lint fails).Acceptance criteria