Skip to content

Commit 64a57b3

Browse files
Add per-domain failure counters to validation reports
1 parent 4c7a1a3 commit 64a57b3

11 files changed

Lines changed: 1474 additions & 0 deletions
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Governance Artifact Validation
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- master
9+
10+
jobs:
11+
validate-governance-artifacts:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
21+
22+
- name: Install dependencies
23+
run: python -m pip install -r requirements-governance.txt pytest
24+
25+
- name: Validate BBOM/ARRE artifacts
26+
run: python tools/validate_ai_governance_artifacts.py --report-file .reports/governance-validation.json
27+
28+
- name: Run validator tests
29+
run: pytest -q tests/test_governance_validator.py
30+
31+
- name: Upload governance validation report
32+
if: always()
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: governance-validation-report
36+
path: .reports/governance-validation.json
37+
if-no-files-found: ignore

0 commit comments

Comments
 (0)