fix(state): Support evolving SessionDB options #77
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: test | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| unittest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v8.2.0 | |
| with: | |
| python-version: "3.11" | |
| enable-cache: true | |
| - name: Run unittest suite | |
| run: make test | |
| # Validate the kit against the *real* hermes-agent source so it can't silently | |
| # drift from upstream. Checks out NousResearch/hermes-agent and points the | |
| # contract tests at it; explicit checkout import or layout drift fails this | |
| # job so an upstream contract break cannot become a misleading skipped green. | |
| hermes-contract: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/checkout@v6 | |
| with: | |
| repository: NousResearch/hermes-agent | |
| path: .hermes-agent | |
| - uses: astral-sh/setup-uv@v8.2.0 | |
| with: | |
| python-version: "3.11" | |
| enable-cache: true | |
| - name: Run hermes contract tests against upstream main | |
| env: | |
| HERMES_AGENT_PATH: ${{ github.workspace }}/.hermes-agent | |
| run: | | |
| git -C "$HERMES_AGENT_PATH" rev-parse HEAD | |
| uv run python -m unittest tests.test_hermes_contract -v |