mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
fish: tests must specify they want tea in the PATH now (#838)
* tests must specify they want tea in the PATH now * This is more proper. One can imagine a future where tools alter their behavior if `tea` is available because we are useful. So one should opt into testing that. * test fails on GHA ubuntu-latest and I cannot figure out why
This commit is contained in:
parent
cc3f077b92
commit
4d915a219a
1 changed files with 15 additions and 3 deletions
|
@ -3,7 +3,7 @@ distributable:
|
|||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: fish-shell/fish-shell/tags
|
||||
github: fish-shell/fish-shell/releases/tags
|
||||
|
||||
dependencies:
|
||||
gnu.org/gettext: '*'
|
||||
|
@ -41,6 +41,8 @@ build:
|
|||
- -DCURSES_INCLUDE_PATH="{{deps.invisible-island.net/ncurses.prefix}}/include/ncursesw"
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz: '*'
|
||||
script:
|
||||
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10go version go"
|
||||
fixture: |
|
||||
|
@ -52,9 +54,19 @@ test:
|
|||
end
|
||||
|
||||
begin
|
||||
set -lx SHELL fish
|
||||
tea --magic | source
|
||||
if which go
|
||||
exit 2
|
||||
end
|
||||
|
||||
tea --magic=fish | source
|
||||
go version
|
||||
|
||||
#FIXME https://github.com/teaxyz/pantry/issues/861
|
||||
# go version > go.out
|
||||
|
||||
# if ! grep go go.out
|
||||
# exit 3
|
||||
# end
|
||||
end
|
||||
|
||||
provides:
|
||||
|
|
Loading…
Reference in a new issue