Skip to content

fix: correct author email in agent-compliance and agent-sre pyproject… #64

fix: correct author email in agent-compliance and agent-sre pyproject…

fix: correct author email in agent-compliance and agent-sre pyproject… #64

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
package: [agent-os, agent-mesh, agent-hypervisor, agent-sre, agent-compliance]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.11"
- name: Install ruff
run: pip install --no-cache-dir ruff
- name: Lint ${{ matrix.package }}
run: ruff check packages/${{ matrix.package }}/src/ --select E,F,W --ignore E501
continue-on-error: true
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: [agent-os, agent-mesh, agent-hypervisor, agent-sre]
python-version: ["3.11", "3.12"]
include:
- package: agent-os
python-version: "3.10"
- package: agent-sre
python-version: "3.10"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install ${{ matrix.package }}
working-directory: packages/${{ matrix.package }}
run: |
pip install --no-cache-dir -e ".[dev]" 2>/dev/null || pip install --no-cache-dir -e ".[test]" 2>/dev/null || pip install --no-cache-dir -e .
pip install --no-cache-dir pytest pytest-asyncio 2>/dev/null || true
- name: Test ${{ matrix.package }}
working-directory: packages/${{ matrix.package }}
run: pytest tests/ -x -q --tb=short 2>/dev/null || echo "No tests found"
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.11"
- name: Install safety
run: pip install --no-cache-dir safety
- name: Check dependencies
run: |
for pkg in agent-os agent-mesh agent-hypervisor agent-sre agent-compliance; do
echo "=== $pkg ==="
cd packages/$pkg
pip install --no-cache-dir -e . 2>/dev/null || true
cd ../..
done
safety check 2>/dev/null || echo "Safety check completed with warnings"