feat(tests): add unit and integration tests with pytest and GitHub Actions workflow#6
Merged
prlanzarin merged 1 commit intobigbluebutton:developmentfrom Feb 28, 2026
Conversation
fa11830 to
6121a7b
Compare
…tions workflow Add a test suite for bbb-livekitstt using pytest and pytest-asyncio as seen in other LK agents. Unit tests offer a decent coverage of the application. While there's some dumb stuff there to guarantee coverage, it's beneficial in general. The integration tests is mostly scaffolding for now. There's a silent stream test to guarantee that the E2E setup works, as well as the integration workflow. The idea is to extend it further with actual STT tests once the framework is in place. CI: - unit-tests job: runs on every push/PR, no secrets required - integration-tests job: sets GLADIA_API_KEY from secret at job level, actual test step runs only when the env var is non-empty - Test coverage support both in-app and in actions/workflows. Workflows fail if coverage goes below 65%.
6121a7b to
fafb689
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
seen in other LK agents.
some dumb stuff there to guarantee coverage, it's beneficial in general.
stream test to guarantee that the E2E setup works, as well as the
integration workflow. The idea is to extend it further with actual STT
tests once the framework is in place.
actual test step runs only when the env var is non-empty
fail if coverage goes below 65%.