release: batch 3 — ingest force, sidecar search, cost & insights (v0.… #31
Workflow file for this run
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: Install Test | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ["v*"] | |
| workflow_dispatch: | |
| jobs: | |
| install-smoke-test: | |
| name: Install (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| install_cmd: bash install.sh --ci | |
| remove_cmd: bash uninstall.sh --ci | |
| - os: macos-latest | |
| install_cmd: bash install.sh --ci | |
| remove_cmd: bash uninstall.sh --ci | |
| - os: windows-latest | |
| install_cmd: pwsh install.ps1 -CI | |
| remove_cmd: pwsh uninstall.ps1 -CI | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Cache Bun | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.bun | |
| ${{ env.BUN_INSTALL }} | |
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }} | |
| restore-keys: | | |
| ${{ runner.os }}-bun- | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Cache QMD Database | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.cache/qmd | |
| key: ${{ runner.os }}-qmd-db | |
| restore-keys: | | |
| ${{ runner.os }}-qmd- | |
| - name: Run installer | |
| run: ${{ matrix.install_cmd }} | |
| - name: Smoke — smriti --version | |
| shell: bash | |
| run: | | |
| export PATH="$HOME/.local/bin:$PATH" | |
| smriti --version || bun "$HOME/.smriti/src/index.ts" --version | |
| - name: Smoke — smriti status | |
| shell: bash | |
| run: | | |
| export PATH="$HOME/.local/bin:$PATH" | |
| smriti status || bun "$HOME/.smriti/src/index.ts" status | |
| - name: Smoke — smriti ingest claude (no sessions OK) | |
| shell: bash | |
| run: | | |
| export PATH="$HOME/.local/bin:$PATH" | |
| smriti ingest claude || bun "$HOME/.smriti/src/index.ts" ingest claude | |
| continue-on-error: true | |
| - name: Smoke — smriti ingest copilot (no VS Code OK) | |
| shell: bash | |
| run: | | |
| export PATH="$HOME/.local/bin:$PATH" | |
| smriti ingest copilot || bun "$HOME/.smriti/src/index.ts" ingest copilot | |
| continue-on-error: true | |
| - name: Run uninstaller | |
| run: ${{ matrix.remove_cmd }} | |
| - name: Verify smriti removed from PATH | |
| shell: bash | |
| run: | | |
| if command -v smriti &>/dev/null; then | |
| echo "FAIL: smriti still on PATH after uninstall" | |
| exit 1 | |
| fi | |
| echo "OK: smriti not found after uninstall" |