Skip to content

Commit a35784f

Browse files
committed
Fix screenshot regression executable path
The screenshot regression workflow builds mne_screenshot_regression with the project-wide runtime output directory, which places the executable under out/Release/bin rather than build/bin. Run that path explicitly and assert it is executable before launching the renderer.
1 parent 4587e9f commit a35784f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/screenshot-regression.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ jobs:
108108
env:
109109
QT_QPA_PLATFORM: offscreen
110110
run: |
111-
./build/bin/mne_screenshot_regression \
111+
SCREENSHOT_BIN="$GITHUB_WORKSPACE/out/Release/bin/mne_screenshot_regression"
112+
test -x "$SCREENSHOT_BIN"
113+
"$SCREENSHOT_BIN" \
112114
--subjects-dir resources/data/mne-cpp-test-data/subjects \
113115
--subject sample \
114116
--out screenshot_${{ matrix.os }}.png \

0 commit comments

Comments
 (0)