diff --git a/tests/interactive.fish b/tests/interactive.fish index 6a1228453..009cc0c6e 100644 --- a/tests/interactive.fish +++ b/tests/interactive.fish @@ -53,6 +53,9 @@ function test_pexpect_file if test "$exit_status" -eq 0 set test_duration (delta $starttime) say green "ok ($test_duration $unit)" + else if test "$exit_status" -eq 127 + say blue "SKIPPED" + set exit_status 0 end return $exit_status end diff --git a/tests/pexpects/bind.py b/tests/pexpects/bind.py index 5178a4c6c..39d5d3fcd 100644 --- a/tests/pexpects/bind.py +++ b/tests/pexpects/bind.py @@ -1,5 +1,15 @@ #!/usr/bin/env python3 from pexpect_helper import SpawnedProc +import os +import platform +import sys + +# Skip on macOS on Github Actions because it's too resource-starved +# and fails this a lot. +# +# Presumably we still have users on macOS that would notice binding errors +if "GITHUB_WORKFLOW" in os.environ and platform.system() == "Darwin": + sys.exit(127) sp = SpawnedProc() send, sendline, sleep, expect_prompt, expect_re, expect_str = (