mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
build(levelization): add fast python generator with CI parity check
Add Builds/levelization/levelization.py for fast local iteration and semantic comparison against canonical shell output via --compare-to. Keep Builds/levelization/levelization.sh as canonical path, and update levelization workflow to fail if python output diverges from shell-generated results. Also harden interactive-shell detection in levelization.sh for portability and document local usage in README.
This commit is contained in:
5
.github/workflows/levelization.yml
vendored
5
.github/workflows/levelization.yml
vendored
@@ -11,6 +11,11 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check levelization
|
||||
run: Builds/levelization/levelization.sh
|
||||
- name: Verify Python Generator Matches Canonical Script
|
||||
run: |
|
||||
python3 Builds/levelization/levelization.py \
|
||||
--results-dir /tmp/levelization-py-results \
|
||||
--compare-to Builds/levelization/results
|
||||
- name: Check for differences
|
||||
id: assert
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user