-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (56 loc) · 1.85 KB
/
Copy pathci.yml
File metadata and controls
59 lines (56 loc) · 1.85 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
name: Sovereign CI - FedRAMP Toolkit + Genesis Conductor
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
nextjs:
name: Next.js Build & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- run: npm ci
- run: npm run build
- run: npm run lint --if-present
python:
name: Python + DTS Telemetry + Schema Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install openpyxl xlsx pandas pydantic pycodestyle
- name: Run PEP 8 check
run: pycodestyle --max-line-length=88 python/generate_fedramp_poa_m.py python/schemas/a2a_skill_registry.py || true
- name: Test DTS Telemetry
run: python python/telemetry/dts_telemetry.py
- name: Validate A2A Skill Registry Schema
run: |
python -c """
from python.schemas.a2a_skill_registry import A2ASkillRegistry, A2ASkill, DeploymentPriority, IntegrationLevel
registry = A2ASkillRegistry()
skill = A2ASkill(
skill_id='TEST-001',
skill_name='Test Skill',
category='Test',
description='Schema validation test',
vpd_score=85.0,
thermodynamic_yield=0.90,
deployment_priority=DeploymentPriority.HIGH,
genesis_conductor_integration=IntegrationLevel.HIGH
)
registry.add_skill(skill)
print('Schema validation passed. DTS computed:', skill.dts_score)
"""