Skip to content

fix(agt-adapter): appraisal.status is the verifier's, so default it t… #728

fix(agt-adapter): appraisal.status is the verifier's, so default it t…

fix(agt-adapter): appraisal.status is the verifier's, so default it t… #728

Workflow file for this run

name: CI
on:
push:
branches: ["main", "feat/**", "fix/**"]
pull_request:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dev deps
# Third-party dependencies come from the hash-pinned lock first; the
# local package then goes in with --no-deps, because pip cannot
# hash-pin an editable install in the same invocation.
run: |
pip install --require-hashes -r requirements/dev.txt
pip install --no-deps -e .
- name: Lint
run: ruff check src tests scripts
# House style is no em dashes in what we publish. The rule was already
# stated and the repository still carried 601 of them, because prose
# review does not catch a dash in a workflow comment or a table cell.
# examples/ and spec/ are exempt for now; see tools/check_dashes.py.
- name: House style (no em dashes)
run: python tools/check_dashes.py
- name: Type check
run: mypy src/agentrust_trace
- name: Test
run: pytest --cov=agentrust_trace --cov-report=term-missing