Repository navigation
53 lines (50 loc) · 2.11 KB
/
Copy pathvalidate.yml
File metadata and controls
53 lines (50 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
name: Validate integrations
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"
- name: Validate integration manifests against schema
run: |
pip install --require-hashes -r requirements/validate.txt
python scripts/validate_integrations.py
- name: Test manifest validation
run: |
python -m pytest tests/test_validate_integrations.py -q
- name: Test composite action dependency paths
run: python -m pytest tests/test_composite_action_paths.py -q
- name: Check workflow OIDC permission baseline
run: python -m pytest tests/test_workflow_oidc_permissions.py -q
- name: Test conditional schema rules
run: |
python -m pytest tests/test_integration_schema.py -q
- name: Validate compatibility declarations
run: |
python scripts/validate_compatibility.py
python -m pytest tests/test_validate_compatibility.py -q
- name: Test execution evidence receipts
run: python -m pytest tests/test_test_evidence.py -q
- name: Check generated integration index
run: python scripts/generate_integration_index.py --check
- name: Test and check generated Marketplace catalog
run: |
python -m pytest tests/test_generate_marketplace_catalog.py -q
python scripts/generate_marketplace_catalog.py --check
- name: Test AGT Marketplace snapshot generation
run: python -m pytest tests/test_generate_agt_marketplace_catalog.py -q
- name: Test confidential workflow harness
run: |
python -m pip install --require-hashes -r ../../requirements/confidential-workflow-probe.txt
python -m unittest discover -s tests -v
working-directory: integrations/agentrust-confidential-workflow-harness