You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
481 B
23 lines
481 B
autoplay-tests: |
|
summary: Replaying interactive tests |
|
command: |- |
|
cd tests |
|
set -e |
|
for test in autoplay/*.go; do |
|
echo "==> Running $test" |
|
go run $test |
|
done |
|
|
|
install-deps: |
|
summary: Install all of package dependencies |
|
command: |- |
|
go get -t {{.files}} |
|
# for autoplay tests |
|
go get github.com/kr/pty |
|
|
|
tests: |
|
summary: Run the test suite |
|
command: go test {{.files}} |
|
|
|
variables: |
|
files: '$(go list -v ./... | grep -iEv "tests|examples")'
|
|
|