diff --git a/Taskfile.yml b/Taskfile.yml index 709cddcd..c218ff3e 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -65,10 +65,16 @@ tasks: test: desc: Runs test suite - deps: [install, sleepit:build] + deps: [install] cmds: - go test {{catLines .GO_PACKAGES}} + test:signals: + desc: Runs test suite with signals tests included + deps: [install, sleepit:build] + cmds: + - go test {{catLines .GO_PACKAGES}} -tags signals + test-release: desc: Tests release process without publishing cmds: diff --git a/unix_test.go b/signals_test.go similarity index 99% rename from unix_test.go rename to signals_test.go index 6c302910..479731cf 100644 --- a/unix_test.go +++ b/signals_test.go @@ -1,5 +1,5 @@ -//go:build !windows -// +build !windows +//go:build signals +// +build signals // This file contains tests for signal handling on Unix. // Based on code from https://github.com/marco-m/timeit