Skip tmux tests on Github Actions macOS

This lacks the tmux-256color terminfo entry, leading to spurious
warnings like

warning: Could not set up terminal. <= no check matches
warning: TERM environment variable set to \'tmux-256color\'. <= no check matches
warning: Check that this terminal type is supported on this system. <= no check matches
warning: Using fallback terminal type \'ansi\'. <= no check matches
This commit is contained in:
Fabian Boehm 2022-06-09 18:56:20 +02:00
parent bb158880d5
commit 1c4bb214d2
4 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#RUN: %fish %s
#REQUIRES: command -v tmux
# Github Actions currently (2022-06-09)
# doesn't include the tmux-256color terminfo on macOS.
# So we skip tmux tests there.
#REQUIRES: test -z "$CI" -o "$(uname)" != Darwin
set -g isolated_tmux_fish_extra_args -C '
set -g fish_autosuggestion_enabled 0

View File

@ -1,5 +1,9 @@
#RUN: %fish %s
#REQUIRES: command -v tmux
# Github Actions currently (2022-06-09)
# doesn't include the tmux-256color terminfo on macOS.
# So we skip tmux tests there.
#REQUIRES: test -z "$CI" -o "$(uname)" != Darwin
isolated-tmux-start

View File

@ -1,5 +1,9 @@
#RUN: %fish %s
#REQUIRES: command -v tmux
# Github Actions currently (2022-06-09)
# doesn't include the tmux-256color terminfo on macOS.
# So we skip tmux tests there.
#REQUIRES: test -z "$CI" -o "$(uname)" != Darwin
isolated-tmux-start

View File

@ -1,5 +1,9 @@
#RUN: %fish %s
#REQUIRES: command -v tmux
# Github Actions currently (2022-06-09)
# doesn't include the tmux-256color terminfo on macOS.
# So we skip tmux tests there.
#REQUIRES: test -z "$CI" -o "$(uname)" != Darwin
set -g isolated_tmux_fish_extra_args -C '
function fish_prompt; printf "prompt $status_generation> <$prompt_var> "; end