_tasks.yml 481 B

1234567891011121314151617181920212223
  1. autoplay-tests:
  2. summary: Replaying interactive tests
  3. command: |-
  4. cd tests
  5. set -e
  6. for test in autoplay/*.go; do
  7. echo "==> Running $test"
  8. go run $test
  9. done
  10. install-deps:
  11. summary: Install all of package dependencies
  12. command: |-
  13. go get -t {{.files}}
  14. # for autoplay tests
  15. go get github.com/kr/pty
  16. tests:
  17. summary: Run the test suite
  18. command: go test {{.files}}
  19. variables:
  20. files: '$(go list -v ./... | grep -iEv "tests|examples")'