# Illustrative GitHub Actions workflow for EvalGlass — pre-alpha; adjust paths to your repo.
# CI fails only on a real fail/blocked verdict (exit 1) or an infrastructure error (exit 2);
# informational and pass both exit 0. A fresh setup gates nothing until you approve a gate.
name: evalglass
on: [pull_request]
jobs:
  evals:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - name: Run EvalGlass (vendored runtime)
        run: PYTHONPATH=evals python -m _evalglass.harness.cli run --config evals/evalglass.yaml --format ci
        # exit 0 = pass / informational · exit 1 = fail / blocked · exit 2 = infrastructure error
