-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 1.14 KB
/
Copy pathbuild.yml
File metadata and controls
36 lines (29 loc) · 1.14 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
name: build
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x" # stdlib only — no pip install needed
# Build the DB from the COMMITTED seeds. Deliberately does NOT run
# tools/fetch_*.py, which hit external networks (GitHub raw, etc.) and
# would make CI flaky / rate-limited. Refreshing from upstream stays a
# local action.
- name: Build database from seeds
run: python3 build_dict.py --no-export
# Prove the doc/diagram/badge generators still run end to end.
- name: Regenerate data model + coverage badge
run: python3 tools/gen_diagram.py
# Rebuild the UI / governance projection from the committed datadict.
- name: Build UI projection
run: python3 tools/build_ui_dict.py
# Assert semantic invariants (not git-diff byte-identity, which is noisy
# because of timestamps in the DB and the report's generated-date line).
- name: Verify invariants
run: python3 tools/ci_check.py