-
Notifications
You must be signed in to change notification settings - Fork 8
70 lines (65 loc) · 2.11 KB
/
Copy pathagentrust-codex-tests.yml
File metadata and controls
70 lines (65 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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:
stdlib:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.11", "3.13"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: "${{ matrix.python-version }}"
- name: Run dependency-free capture tests
run: |
pip install pytest
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: "${{ matrix.python-version }}"
- name: Run signing and conformance tests
run: |
pip install pytest -r plugins/agentrust-codex/requirements.txt
python -m pytest plugins/agentrust-codex/tests -q
structure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: "3.12"
- name: Validate integration and plugin structure
run: |
pip install jsonschema pyyaml
python plugins/agentrust-codex/tests/validate_structure.py