ci: run hermes plugin lint + tests
New hermes_plugin job runs ruff (per the plugin's pyproject.toml, including F811 which guards against re-duplicated definitions) and the plugin's stdlib-only unittest suite via discovery. The tests self-bootstrap their imports and pass without websockets installed (connection.py guards the import), so no pip install step is needed. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
b76f8c8bc8
commit
4659e0d9e7
1 file changed
+19
@@ -99,3 +99,22 @@ jobs:
|
||||
|
||||
- name: Exercise release-only workflow steps
|
||||
run: node scripts/release-smoke.ts
|
||||
|
||||
hermes_plugin:
|
||||
name: Hermes Plugin
|
||||
runs-on: blacksmith-8vcpu-ubuntu-2404
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Lint
|
||||
run: pipx run ruff check integrations/hermes-t3-gateway
|
||||
|
||||
- name: Test
|
||||
run: python -m unittest discover -s integrations/hermes-t3-gateway/tests -v
|
||||
Reference in new issue
Block a user