Skip to content

v0.7 PR 1/6: docs surface (trigger table, agent recipes, minimal conf… #54

v0.7 PR 1/6: docs surface (trigger table, agent recipes, minimal conf…

v0.7 PR 1/6: docs surface (trigger table, agent recipes, minimal conf… #54

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: "3.12"
cache: pip
- name: Install
run: python -m pip install -e ".[dev]"
- name: Lint
run: python -m ruff check .
- name: Compile
run: python -m compileall -q src tests
- name: Test
run: python -m pytest --cov=agents_shipgate --cov-report=term-missing --cov-fail-under=75
- name: Build package
run: |
python -m build
python -m twine check dist/*
- name: Dependency audit
run: python -m pip_audit .
- name: Generate SBOM
run: cyclonedx-py environment --pyproject pyproject.toml -o sbom.json
- name: Upload SBOM
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: sbom
path: sbom.json