name: plugin-tests # Runs on every push to jp/main + on every PR. # Fast (unit + integration). Drift CI is a separate workflow. on: push: branches: [jp, main] pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install plugin (editable) + dev deps run: | python -m pip install --upgrade pip pip install -e . pip install pytest pyyaml - name: Unit tests run: pytest tests/unit -v --tb=short || (echo "no unit tests yet — Phase 2"; true) - name: Integration tests (skip if hermes-webui not available) run: pytest tests/integration -v --tb=short || (echo "no integration tests yet — Phase 2"; true) - name: AST connection map is fresh run: python3 scripts/ast-connection-map.py --check