File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : validate-data
2-
3- # Self-check: every PR runs the bundled lightweight validator. Heavy checks
4- # (coverage gaps, schema migrations, ingestion smoke tests) live in TechEngine.
5- on :
6- pull_request :
7- paths :
8- - " data/**"
9- - " app/validate.py"
10- push :
11- branches : [main]
12- paths :
13- - " data/**"
14- - " app/validate.py"
15-
16- jobs :
17- self-validate :
18- runs-on : ubuntu-latest
19- steps :
1+ name : validate-data
2+
3+ # Self-check: every PR runs the bundled lightweight validator. Heavy checks
4+ # (coverage gaps, schema migrations, ingestion smoke tests) live in TechEngine.
5+ on :
6+ pull_request :
7+ paths :
8+ - " data/**"
9+ - " app/validate.py"
10+ push :
11+ branches : [main]
12+ paths :
13+ - " data/**"
14+ - " app/validate.py"
15+
16+ jobs :
17+ self-validate :
18+ runs-on : ubuntu-latest
19+ steps :
2020 - uses : actions/checkout@v4
21- - uses : actions/setup-python@v5
2221 with :
23- python-version : " 3.12"
24- - name : Self-check (bundled validator)
25- run : python -m app.validate
26-
27- engine-validate :
28- needs : self-validate
29- uses : GetTechAPI/TechEngine/.github/workflows/validate-data.yml@main
30- with :
31- data-ref : ${{ github.event.pull_request.head.sha || github.sha }}
22+ # The committed Pages dump contains over a million generated files.
23+ # Validation only needs records and the bundled validator.
24+ filter : blob:none
25+ sparse-checkout : |
26+ app
27+ data
28+ sparse-checkout-cone-mode : true
29+ - uses : actions/setup-python@v5
30+ with :
31+ python-version : " 3.12"
32+ - name : Self-check (bundled validator)
33+ run : python -m app.validate
34+
35+ engine-validate :
36+ needs : self-validate
37+ uses : GetTechAPI/TechEngine/.github/workflows/validate-data.yml@main
38+ with :
39+ data-ref : ${{ github.event.pull_request.head.sha || github.sha }}
You can’t perform that action at this time.
0 commit comments