Skip to content

(sentry) Prepare the public GitHub Action facade (#8) #17

(sentry) Prepare the public GitHub Action facade (#8)

(sentry) Prepare the public GitHub Action facade (#8) #17

Workflow file for this run

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