blob: 86047f7c4c8cf89844ea0e0cfd0d5c19cb9522c6 [file] [log] [blame]
# Test that we can install tools required to contribute to the CUE
# project via the new Go 1.16 method
#
# Keep this test in sync with all places that describe install
# instructions for contributing
[!go1.16] skip 'Test only applies to Go 1.16'
[!long] skip 'Install tests use the network and take some time'
# For this test we want to use the real proxy
env GOPROXY=https://proxy.golang.org
# Sanity check pre install
! exists $WORK/gopath/bin/git-codereview
# Install
env GO111MODULE=on
go install golang.org/x/review/git-codereview@latest
exec $WORK/gopath/bin/git-codereview help
stdout 'Git-codereview is a git helper'