chore: remove openclaw-plugin dependency files (fix uuid CVE) #179
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| # ── Python (hermes-plugin + evolution) ───────────────────── | |
| python-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Syntax check — hermes-plugin | |
| run: | | |
| cd hermes-plugin | |
| python -m py_compile services/workflow_service.py | |
| python -m py_compile services/scheduler.py | |
| python -m py_compile store/sqlite_store.py | |
| python -m py_compile store/migrations.py | |
| python -m py_compile core/dag.py | |
| python -m py_compile core/fsm.py | |
| python -m py_compile memory/working_memory.py | |
| python -m py_compile memory/episodic_memory.py | |
| python -m py_compile memory/semantic_memory.py | |
| python -m py_compile models.py | |
| python -m py_compile config.py | |
| - name: Syntax check — evolution | |
| run: | | |
| python -m py_compile evolution/__init__.py | |
| python -m py_compile evolution/pattern_detector.py | |
| python -m py_compile evolution/skill_packager.py | |
| python -m py_compile evolution/quality_scorer.py | |
| - name: Import check | |
| run: | | |
| cd hermes-plugin | |
| python -c " | |
| from store.sqlite_store import SQLiteStore | |
| from services.workflow_service import WorkflowService | |
| from services.scheduler import Scheduler | |
| from core.dag import build_dag, get_ready_steps | |
| from core.fsm import transition, can_transition | |
| from memory.working_memory import WorkingMemory | |
| from memory.episodic_memory import EpisodicMemory | |
| from memory.semantic_memory import SemanticMemory | |
| from models import WorkflowState, StepState | |
| print('All imports OK') | |
| " | |
| - name: Import check — evolution | |
| run: | | |
| python -c " | |
| from evolution.pattern_detector import PatternDetector | |
| from evolution.skill_packager import SkillPackager | |
| from evolution.quality_scorer import QualityScorer | |
| print('Evolution imports OK') | |
| " | |
| - name: Install pytest | |
| run: pip install pytest pytest-asyncio | |
| - name: Run tests | |
| run: python -m pytest tests/ -v --tb=short |