(sentry) Prepare the public GitHub Action facade (#8) #17
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: tests | |
| # Pin the capability wrappers' contract: each action.yml stays a thin composite | |
| # action that runs the right `decided` command, uploads SARIF, and re-surfaces the | |
| # CLI exit code. Structural only (parses YAML) — no engine install needed. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| action-contracts: | |
| name: action contracts (pytest) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install test deps | |
| run: python -m pip install --quiet --upgrade pip pytest pyyaml | |
| - name: Run action-contract tests | |
| run: python -m pytest tests/ -q |