Repository navigation
delivery-verifier 0.3.0
dv prove now runs in CI as a GitHub Action. Add one step after checkout and dependency installation, and every pull request is checked: the new regression test must fail on the merge base with the fix removed and pass on the branch.
name: Regression proof
on: [pull_request]
permissions:
contents: read
jobs:
prove:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.12'
- run: python -m pip install pytest==8.4.2
- uses: clean99/delivery-verifier@v0.3.0
with:
test: python -m pytest --tb=long tests/test_words.pyA Vitest example and the full input table are in the README.
Added
- A composite action at the repository root. Inputs:
test,base,version,timeoutandworking-directory. Outputs:ok,verdictandevidence-path. It writes a job summary and uploads the evidence. A failed or incomplete proof fails the job. baseis resolved only as an origin branch: short names never select a same-named tag, and names starting with-are rejected before any fetch.- By default the action installs
dvfrom its own pinned source, so the action and the CLI cannot drift apart. Settingversioninstalls a release wheel instead. - Self-tests on Ubuntu and macOS cover a qualifying pytest regression and a test that passes without the fix.
The CLI behaves as in 0.2.0. Install it without the action:
pipx install https://github.com/clean99/delivery-verifier/releases/download/v0.3.0/delivery_verifier-0.3.0-py3-none-any.whlSHA-256:
1a940aba83d893151c101697e974d94985ee831f0a2d53ac955ef90a2f5063fe delivery_verifier-0.3.0-py3-none-any.whl
36436d121bcca0a8411f1e5f5df0399521485f835780ca0718bfbf4a84142149 delivery_verifier-0.3.0.tar.gz