feat: launch warrant verification toolkit #1
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| python-test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python-version: ["3.11", "3.12"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: python -m pip install -e ".[dev]" | |
| - run: pytest --cov=agent_warrant --cov-fail-under=90 | |
| - run: ruff check . | |
| - run: black --check . | |
| - run: mypy src | |
| - run: warrant lint-falco integrations/falco/warrant_rules.yaml | |
| - run: warrant demo enforce --audit-out demo_out.jsonl | |
| - run: warrant demo collusion --seed 7 | |
| - run: warrant audit verify demo_out.jsonl | |
| rust-test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo test | |
| - run: cargo clippy -- -D warnings | |
| - run: cargo fmt --check |