chore: sync version 1.1.0-alpha.1 across all manifests #35
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
| name: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Cancel in-progress runs for the same branch/PR | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Run tests with coverage | |
| run: > | |
| bun test | |
| --coverage --coverage-reporter=text --coverage-reporter=lcov --coverage-dir=coverage | |
| --path-ignore-patterns "**/openclaw/**" | |
| --path-ignore-patterns "**/worker-json-status*" | |
| --path-ignore-patterns "**/plugin-distribution*" | |
| --path-ignore-patterns "**/project-filter*" | |
| --path-ignore-patterns "**/seekdb-sync*" | |
| --path-ignore-patterns "**/seekdb-poc*" | |
| --path-ignore-patterns "**/backup-service*" | |
| - name: Check for dead service exports | |
| run: bun scripts/check-dead-exports.ts | |
| - name: Run search quality benchmark | |
| run: bun scripts/benchmark-ci.ts | |
| - name: Upload coverage artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: coverage/ | |
| retention-days: 14 | |
| - name: Coverage PR comment | |
| if: github.event_name == 'pull_request' | |
| uses: zgosalvez/github-actions-report-lcov@v4 | |
| with: | |
| coverage-files: coverage/lcov.info | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| update-comment: true |