Skip to content

Commit 86552c3

Browse files
committed
CI: regenerate webapp/data.js (gitignored derived artifact) before tests
The cross-language record tests and all JS/WASM check scripts load webapp/data.js, which is derived from the committed champion checkpoint by scripts/export_webapp.py and not stored in git.
1 parent 91387c2 commit 86552c3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
- name: Install dependencies (with dev extras)
1818
run: uv sync --extra dev
1919

20+
# webapp/data.js is a derived artifact (baked boards + weights from the committed
21+
# champion checkpoint) and is gitignored; the JS/WASM checks and the cross-language
22+
# record tests all load it, so regenerate it first.
23+
- name: Generate webapp data (boards + weights)
24+
run: uv run python scripts/export_webapp.py
25+
2026
- name: Run test suite
2127
run: uv run pytest -q
2228

0 commit comments

Comments
 (0)