mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 17:07:44 +00: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
2 changed files with 15 additions and 2 deletions
|
@ -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 a new issue