name: ci on: push: branches: [main] pull_request: branches: [main] jobs: validate-registry: runs-on: ubuntu-latest steps: - name: Check out source uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install package run: python -m pip install -e ".[dev]" - name: Validate capability registry run: reuse-surface validate --relations --fail-on-warnings - name: Compose federated index run: reuse-surface federation compose - name: Generate catalog and graph run: | reuse-surface catalog reuse-surface graph --check --fail-on-warnings - name: Registry stats (informational) run: reuse-surface stats || true - name: Planning cohort report (informational) run: reuse-surface report cohorts --planning-min D4 || true - name: Run tests run: pytest -q