ci: run go unit tests from the dagger plan

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba
2022-04-19 15:36:34 -07:00
parent e41778d373
commit bc17cef74a
3 changed files with 9 additions and 11 deletions

View File

@@ -29,8 +29,8 @@ install: # Install a dev dagger binary
go install -ldflags '-X go.dagger.io/dagger/version.Revision=$(GIT_REVISION)' ./cmd/dagger
.PHONY: test
test: # Run all tests
go test -race -v ./...
test: dagger # Run all tests
./cmd/dagger/dagger do test
.PHONY: golint
golint: dagger # Go lint
@@ -90,4 +90,4 @@ web: # Run the website locally
.PHONY: todo
todo: # Find all TODO items
grep -r -A 1 "TODO:" $(CURDIR)
grep -r -A 1 "TODO:" $(CURDIR)