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:
Max Howell 2023-04-10 09:06:40 -04:00 committed by GitHub
parent cc3f077b92
commit 4d915a219a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: