Skip to content

Comments

test(ci): fix coverage gate blocking PyPI release#14

Merged
smekcio merged 1 commit intomainfrom
fix/pypi-release-coverage
Feb 19, 2026
Merged

test(ci): fix coverage gate blocking PyPI release#14
smekcio merged 1 commit intomainfrom
fix/pypi-release-coverage

Conversation

@smekcio
Copy link
Owner

@smekcio smekcio commented Feb 19, 2026

Problem\nOstatni publish do PyPI (run 22196562963, release v0.5.0) failował na kroku testów, bo coverage spadło do 99.89% (brak pokrycia kilku gałęzi w invoices.py).\n\n## Zmiany\n- dodane testy pokrywające wszystkie gałęzie _normalize_datetime_without_offset\n- bez zmian logiki produkcyjnej\n\n## Weryfikacja\n- python -m pytest\n- python -m pytest --cov=ksef_client --cov-report=term-missing --cov-fail-under=100 (lokalnie: 100.00%)\n\n## Efekt\nWorkflow publikacji nie powinien już zatrzymywać się na kroku Run tests z powodu coverage.

@smekcio smekcio force-pushed the fix/pypi-release-coverage branch from 65d161f to 237beef Compare February 19, 2026 19:38
@smekcio smekcio merged commit 46cdd40 into main Feb 19, 2026
16 checks passed
@smekcio smekcio deleted the fix/pypi-release-coverage branch February 19, 2026 19:39
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