mirror of
https://github.com/go-task/task.git
synced 2025-11-25 22:32:55 +02:00
feat: stop task test installing task (#2050)
This commit is contained in:
24
Taskfile.yml
24
Taskfile.yml
@@ -98,21 +98,17 @@ tasks:
|
|||||||
test:
|
test:
|
||||||
desc: Runs test suite
|
desc: Runs test suite
|
||||||
aliases: [t]
|
aliases: [t]
|
||||||
deps: [install]
|
sources:
|
||||||
|
- "**/*.go"
|
||||||
|
- "testdata/**/*"
|
||||||
cmds:
|
cmds:
|
||||||
- go test {{catLines .GO_PACKAGES}}
|
- go test ./...
|
||||||
vars:
|
|
||||||
GO_PACKAGES:
|
|
||||||
sh: go list ./...
|
|
||||||
|
|
||||||
test:all:
|
test:all:
|
||||||
desc: Runs test suite with signals and watch tests included
|
desc: Runs test suite with signals and watch tests included
|
||||||
deps: [install, sleepit:build]
|
deps: [sleepit:build]
|
||||||
cmds:
|
cmds:
|
||||||
- go test {{catLines .GO_PACKAGES}} -tags 'signals watch'
|
- go test -tags 'signals watch' ./...
|
||||||
vars:
|
|
||||||
GO_PACKAGES:
|
|
||||||
sh: go list ./...
|
|
||||||
|
|
||||||
goreleaser:test:
|
goreleaser:test:
|
||||||
desc: Tests release process without publishing
|
desc: Tests release process without publishing
|
||||||
@@ -176,11 +172,3 @@ tasks:
|
|||||||
desc: Publish release to npm
|
desc: Publish release to npm
|
||||||
cmds:
|
cmds:
|
||||||
- npm publish --access=public
|
- npm publish --access=public
|
||||||
|
|
||||||
packages:
|
|
||||||
cmds:
|
|
||||||
- echo '{{.GO_PACKAGES}}'
|
|
||||||
vars:
|
|
||||||
GO_PACKAGES:
|
|
||||||
sh: go list ./...
|
|
||||||
silent: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user