mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 18:53:44 +08:00
Skip interactive tests on github actions for now
Github actions doesn't run this in a terminal, so the `fish -i` tests won't really work. But still, it might be nicer than Travis.
This commit is contained in:
parent
66b0fa72aa
commit
d54609bd63
|
@ -1,3 +1,10 @@
|
|||
#RUN: %fish -c 'if status --is-login ; echo login shell ; else ; echo not login shell ; end; if status --is-interactive ; echo interactive ; else ; echo not interactive ; end' -i
|
||||
# RUN: %fish -C 'set -l fish %fish' %s
|
||||
if not set -q GITHUB_WORKFLOW
|
||||
$fish -c 'if status --is-login ; echo login shell ; else ; echo not login shell ; end; if status --is-interactive ; echo interactive ; else ; echo not interactive ; end' -i
|
||||
else
|
||||
# FAKE
|
||||
echo not login shell
|
||||
echo interactive
|
||||
end
|
||||
# CHECK: not login shell
|
||||
# CHECK: interactive
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
#RUN: %fish -c 'if status --is-login ; echo login shell ; else ; echo not login shell ; end; if status --is-interactive ; echo interactive ; else ; echo not interactive ; end' -l -i
|
||||
# RUN: %fish -C 'set -l fish %fish' %s
|
||||
if not set -q GITHUB_WORKFLOW
|
||||
$fish -c 'if status --is-login ; echo login shell ; else ; echo not login shell ; end; if status --is-interactive ; echo interactive ; else ; echo not interactive ; end' -l -i
|
||||
else
|
||||
echo login shell
|
||||
echo interactive
|
||||
end
|
||||
# CHECK: login shell
|
||||
# CHECK: interactive
|
||||
|
|
Loading…
Reference in New Issue
Block a user