1
0
mirror of https://github.com/go-task/task.git synced 2025-02-13 13:59:32 +02:00

feat: stop task test installing task (#2050)

This commit is contained in:
Pete Davison 2025-02-08 23:02:22 +00:00 committed by GitHub
parent 69ac06170a
commit be81885835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,21 +98,17 @@ tasks:
test:
desc: Runs test suite
aliases: [t]
deps: [install]
sources:
- "**/*.go"
- "testdata/**/*"
cmds:
- go test {{catLines .GO_PACKAGES}}
vars:
GO_PACKAGES:
sh: go list ./...
- go test ./...
test:all:
desc: Runs test suite with signals and watch tests included
deps: [install, sleepit:build]
deps: [sleepit:build]
cmds:
- go test {{catLines .GO_PACKAGES}} -tags 'signals watch'
vars:
GO_PACKAGES:
sh: go list ./...
- go test -tags 'signals watch' ./...
goreleaser:test:
desc: Tests release process without publishing
@ -176,11 +172,3 @@ tasks:
desc: Publish release to npm
cmds:
- npm publish --access=public
packages:
cmds:
- echo '{{.GO_PACKAGES}}'
vars:
GO_PACKAGES:
sh: go list ./...
silent: true