feat(wcm): fourteen Weight Custody Manifest integrations (#142) #79
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: agentrust-codex tests | |
| on: | |
| pull_request: | |
| paths: | |
| - ".agents/plugins/marketplace.json" | |
| - "plugins/agentrust-codex/**" | |
| - ".github/workflows/agentrust-codex-tests.yml" | |
| - "README.md" | |
| push: | |
| branches: [main] | |
| paths: | |
| - ".agents/plugins/marketplace.json" | |
| - "plugins/agentrust-codex/**" | |
| - ".github/workflows/agentrust-codex-tests.yml" | |
| - "README.md" | |
| permissions: | |
| contents: read | |
| jobs: | |
| drift-without-signing: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9", "3.11", "3.13"] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: "${{ matrix.python-version }}" | |
| - name: Run capture tests without the signing packages | |
| run: | | |
| pip install ./packages/agentrust-capture-core pytest==8.4.2 | |
| python -m pytest plugins/agentrust-codex/tests -q | |
| signing: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: "${{ matrix.python-version }}" | |
| - name: Run signing and conformance tests | |
| run: | | |
| pip install ./packages/agentrust-capture-core pytest==9.1.1 -r plugins/agentrust-codex/requirements.txt | |
| python -m pytest plugins/agentrust-codex/tests -q | |
| structure: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Validate integration and plugin structure | |
| run: | | |
| pip install jsonschema==4.26.0 pyyaml==6.0.3 | |
| python plugins/agentrust-codex/tests/validate_structure.py |