Skip to content

Commit 6e5666f

Browse files
authored
Debug Safari testing
1 parent b2e3c7d commit 6e5666f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • .github/actions/Emscripten-Notebook-Tests

.github/actions/Emscripten-Notebook-Tests/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ runs:
3737
touch safari_diff.txt
3838
if [[ "${{ matrix.os }}" == "macos"* ]]; then
3939
echo "Running xeus-cpp in Jupter Lite in Safari"
40+
# Kill any stale Safari/safaridriver processes
41+
pkill -9 Safari 2>/dev/null || true
42+
pkill -9 safaridriver 2>/dev/null || true
43+
sleep 3
4044
python -u scripts/automated-notebook-run-script.py --driver safari --notebook ${{ inputs.notebook }} --kernel ${{ inputs.kernel }} $INPUT_TEXT
4145
nbdiff notebooks/${{ inputs.notebook }} $HOME/Downloads/${{ inputs.notebook }} --ignore-id --ignore-metadata >> safari_diff.txt
4246
export SAFARI_TESTS_RETURN_VALUE=$( [ -s safari_diff.txt ] && echo 1 || echo 0 )

0 commit comments

Comments
 (0)