(test) add python script to compare goldens

This commit is contained in:
Nick Fisher
2025-06-26 08:47:49 +08:00
parent 240a2d5345
commit ced0667a21
2 changed files with 133 additions and 2 deletions

View File

@@ -37,12 +37,14 @@ jobs:
- name: Download golden images
uses: actions/download-artifact@v4
with:
name: golden-images-f0cf20d904f67e03c7ae247d18287b7f8a053cd2
path: ./golden-downloads
name: golden-images-${{ github.sha }}
path: ./thermion_dart/test/golden-downloads
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install Pillow numpy
- name: Compare golden images
run: cd thermion_dart/test && python compare_goldens.py
- name: Upload logs
if: failure() || steps.build.outcome == 'failure'
uses: actions/upload-artifact@v4