Add cursor-based pagination, group tree index, and BFS expansion #145
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
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| name: Build and Test | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install Rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: lts/* | |
| - name: Build Rust workspace | |
| run: cargo build --workspace --all-features | |
| - name: Run Rust tests | |
| run: cargo test --workspace --all-features | |
| - name: Install Node.js dependencies for client | |
| working-directory: crates/observation-tools-client | |
| run: npm install | |
| - name: Build Node.js client | |
| working-directory: crates/observation-tools-client | |
| run: npm run build:debug | |
| - name: Install Playwright dependencies | |
| working-directory: tests | |
| run: npm install | |
| - name: Install Playwright browsers | |
| working-directory: tests | |
| run: npx playwright install --with-deps chromium | |
| - name: Run integration tests | |
| working-directory: tests | |
| run: npm test | |
| - name: Upload HTML report | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: tests/playwright-report/ | |
| retention-days: 14 |