fix(fish)

some test systems have `go` installed
This commit is contained in:
Jacob Heider 2023-04-15 17:32:02 -04:00 committed by Jacob Heider
parent 3488ffd720
commit 7b9ac39271

View file

@ -16,6 +16,7 @@ build:
cmake.org: '>=3.5'
freedesktop.org/pkg-config: '*'
gnu.org/patch: '*'
git-scm.org: ^2 # needed for fish's pcre
script: |
# By default, fish's fish_command_not_found handler will redirect to stderr,
# return an exit code of 127. Always. This patch fixes it. Hopefully, it will
@ -42,8 +43,9 @@ build:
test:
dependencies:
tea.xyz: '*'
script:
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10go version go"
script: |
fish $FIXTURE
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10semverator "
fixture: |
#!/usr/bin/env fish
@ -53,17 +55,17 @@ test:
end
begin
if which go
if which semverator
exit 2
end
tea --magic=fish | source
go version
semverator --version
#FIXME https://github.com/teaxyz/pantry/issues/861
# go version > go.out
# semverator --version > semverator.out
# if ! grep go go.out
# if ! grep semverator semverator.out
# exit 3
# end
end