Skip to content

ci: install liteparse and run integration tests in CI#13

Open
impruthvi wants to merge 2 commits into
shipfastlabs:mainfrom
impruthvi:fix/ci-integration-tests
Open

ci: install liteparse and run integration tests in CI#13
impruthvi wants to merge 2 commits into
shipfastlabs:mainfrom
impruthvi:fix/ci-integration-tests

Conversation

@impruthvi

Copy link
Copy Markdown
Contributor

Problem

Integration tests were never running in CI because the lit binary was not installed on GitHub runners. The workflow only ran composer test:unit which excludes the integration group — so real-binary codepaths (structured document parsing, lazy streaming) were never verified.

This is how the camelCase DTO bug (#9) went undetected: unit tests pass against fixture JSON, but integration tests hit the actual binary output.

Changes

  • .github/workflows/tests.yml — add npm install -g @llamaindex/liteparse step and an Integration Tests step after unit tests
  • composer.json — add test:integration script (pest --group=integration)

Result

All 6 matrix runners (ubuntu/macos/windows × prefer-lowest/prefer-stable) now install lit and run integration tests on every push and pull request.

Test plan

  • composer test:unit still passes (unchanged)
  • composer test:integration runs the 3 integration tests against the real binary locally — all pass

Integration tests were silently skipped because the lit binary was never
installed on CI runners. Add npm install step and a dedicated
test:integration composer script so real-binary codepaths are verified
on every push across all matrix runners.
@pushpak1300

Copy link
Copy Markdown
Member

Tests failing.

@impruthvi

Copy link
Copy Markdown
Contributor Author

Tests failing.

This will pass once PR #11 is merged.

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.

2 participants