From 59f5fa1ed57bbe9d1b56fb6c7c0c6ac9f6dcd52d Mon Sep 17 00:00:00 2001 From: impruthvi Date: Tue, 2 Jun 2026 13:02:07 +0530 Subject: [PATCH] ci: install liteparse and run integration tests in CI 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. --- .github/workflows/tests.yml | 6 ++++++ composer.json | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c8efa00..97afd1c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,5 +44,11 @@ jobs: - name: Install Composer dependencies run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist + - name: Install liteparse + run: npm install -g @llamaindex/liteparse + - name: Unit Tests run: composer test:unit + + - name: Integration Tests + run: composer test:integration diff --git a/composer.json b/composer.json index f3014d8..fd499cf 100644 --- a/composer.json +++ b/composer.json @@ -66,6 +66,7 @@ "rector --dry-run" ], "test:unit": "pest --parallel --coverage --exactly=100 --exclude-group=integration", + "test:integration": "pest --group=integration", "test:types": "phpstan", "test:refactor": "rector --dry-run", "test": [