mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +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
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: fish-shell/fish-shell/tags
|
github: fish-shell/fish-shell/releases/tags
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/gettext: '*'
|
gnu.org/gettext: '*'
|
||||||
|
@ -41,6 +41,8 @@ build:
|
||||||
- -DCURSES_INCLUDE_PATH="{{deps.invisible-island.net/ncurses.prefix}}/include/ncursesw"
|
- -DCURSES_INCLUDE_PATH="{{deps.invisible-island.net/ncurses.prefix}}/include/ncursesw"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz: '*'
|
||||||
script:
|
script:
|
||||||
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10go version go"
|
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10go version go"
|
||||||
fixture: |
|
fixture: |
|
||||||
|
@ -52,9 +54,19 @@ test:
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
set -lx SHELL fish
|
if which go
|
||||||
tea --magic | source
|
exit 2
|
||||||
|
end
|
||||||
|
|
||||||
|
tea --magic=fish | source
|
||||||
go version
|
go version
|
||||||
|
|
||||||
|
#FIXME https://github.com/teaxyz/pantry/issues/861
|
||||||
|
# go version > go.out
|
||||||
|
|
||||||
|
# if ! grep go go.out
|
||||||
|
# exit 3
|
||||||
|
# end
|
||||||
end
|
end
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
|
|
Loading…
Reference in a new issue