mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
tests/bind: Skip on Github macOS
This just fails too much to be of any use.
This commit is contained in:
parent
35f77a5473
commit
2b0b0fe042
@ -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
|
||||
|
@ -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 = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user