Skip to content

Commit aa13f9b

Browse files
Run validator smoke tests in CI
1 parent a274d04 commit aa13f9b

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Registry validation
2+
3+
on:
4+
push:
5+
paths:
6+
- "registry/schemas/**"
7+
- "scripts/validate_repo.py"
8+
- "tests/**"
9+
- "requirements-dev.txt"
10+
- ".github/workflows/validate.yml"
11+
pull_request:
12+
paths:
13+
- "registry/schemas/**"
14+
- "scripts/validate_repo.py"
15+
- "tests/**"
16+
- "requirements-dev.txt"
17+
- ".github/workflows/validate.yml"
18+
19+
permissions:
20+
contents: read
21+
22+
jobs:
23+
validator-smoke:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-python@v5
28+
with:
29+
python-version: "3.12"
30+
- run: python -m pip install -r requirements-dev.txt
31+
- run: python tests/test_validator_smoke.py

0 commit comments

Comments
 (0)