From cf390e9243d61c3fadc658bd7dcfb91c2240258f Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Wed, 13 Jan 2021 18:21:56 -0800 Subject: [PATCH] ci: enable tests Signed-off-by: Andrea Luzzardi --- .github/workflows/ci.yml | 4 ++++ Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65fbce80..6db543df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,3 +32,7 @@ jobs: - name: Lint run: | make lint + + - name: Test + run: | + make test diff --git a/Makefile b/Makefile index 1fb8c2e8..e225d2c0 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,10 @@ generate: dagger: generate go build -o ./cmd/dagger/ ./cmd/dagger/ +.PHONY: test +test: + go test -v ./... + .PHONY: cuefmt cuefmt: @(cd ./dagger && cue fmt -s ./... && cue trim -s ./...)