From be818858353804f49279659aa2f87d82bb650539 Mon Sep 17 00:00:00 2001 From: Pete Davison Date: Sat, 8 Feb 2025 23:02:22 +0000 Subject: [PATCH] feat: stop task test installing task (#2050) --- Taskfile.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index ec13fd0c..f74ce227 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -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