Skip to content

test: strengthen CI coverage and edge-case suite - #14

Merged
mamahoos merged 1 commit into
mainfrom
test/strengthen-ci-coverage
Aug 8, 2026
Merged

test: strengthen CI coverage and edge-case suite#14
mamahoos merged 1 commit into
mainfrom
test/strengthen-ci-coverage

Conversation

@mamahoos

@mamahoos mamahoos commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Expand tests (custom `data_key` e2e, orphan marker cleanup, waiter paths, exports)
  • CI: coverage gate (`--cov-fail-under=95`), uv cache, concurrency, import smoke, `--frozen`
  • Dev dep: `pytest-cov`; coverage config in `pyproject.toml`

Test plan

  • `uv run pytest -q --cov=aiogram_input --cov-fail-under=95` → 34 passed, 100% cover
  • GitHub Actions matrix green

Add pytest-cov, fail under 95%, concurrency/cache in test.yml, and
edge-case tests that bring package coverage to 100%.
@mamahoos
mamahoos merged commit d5f1481 into main Aug 8, 2026
5 checks passed
@mamahoos
mamahoos deleted the test/strengthen-ci-coverage branch August 8, 2026 09:24

@mamahoos mamahoos left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Long live the king.

run: >
uv run python -c
"from aiogram_input import setup_input, InputWaiter, DEFAULT_DATA_KEY, __version__;
assert DEFAULT_DATA_KEY == 'input';

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency injection tested.

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