Skip to content

Commit db84731

Browse files
Run registry validation in CI
1 parent a38297f commit db84731

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/validate.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ name: Registry validation
33
on:
44
push:
55
paths:
6+
- "registry/**/*.json"
67
- "registry/schemas/**"
78
- "scripts/validate_repo.py"
89
- "tests/**"
910
- "requirements-dev.txt"
1011
- ".github/workflows/validate.yml"
1112
pull_request:
1213
paths:
14+
- "registry/**/*.json"
1315
- "registry/schemas/**"
1416
- "scripts/validate_repo.py"
1517
- "tests/**"
@@ -20,12 +22,13 @@ permissions:
2022
contents: read
2123

2224
jobs:
23-
validator-smoke:
25+
registry-validation:
2426
runs-on: ubuntu-latest
2527
steps:
2628
- uses: actions/checkout@v4
2729
- uses: actions/setup-python@v5
2830
with:
2931
python-version: "3.12"
3032
- run: python -m pip install -r requirements-dev.txt
33+
- run: python scripts/validate_repo.py --registry
3134
- run: python tests/test_validator_smoke.py

0 commit comments

Comments
 (0)