Repository navigation
47 lines (44 loc) · 1.77 KB
/
Copy pathvalidate.yml
File metadata and controls
47 lines (44 loc) · 1.77 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
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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.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: 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: 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 unittest discover -s tests -v
working-directory: integrations/agentrust-confidential-workflow-harness