Skip to content

Commit 31f2a74

Browse files
committed
ci: add smoke test step before benchmarks to show pyhl run errors
Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent d03c5e0 commit 31f2a74

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,15 @@ jobs:
170170
if: steps.kvm_check.outputs.available == 'true'
171171
run: pyhl setup --from src-dir --force
172172

173+
- name: "Smoke: verify pyhl run works"
174+
if: steps.kvm_check.outputs.available == 'true'
175+
run: |
176+
echo "--- snapshot and system info ---"
177+
ls -lh .pyhl/
178+
free -h
179+
echo "--- smoke test ---"
180+
pyhl run -c "print('smoke ok')" || { echo "FAIL: pyhl run exited $?"; exit 1; }
181+
173182
- name: "Perf: hello world (15 runs)"
174183
if: steps.kvm_check.outputs.available == 'true'
175184
run: |

0 commit comments

Comments
 (0)