Merge pull request #25 from blocklayerhq/ci-enable-test

ci: run tests
This commit is contained in:
Andrea Luzzardi 2021-01-13 18:23:46 -08:00 committed by GitHub
commit e2a106ae39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -32,3 +32,7 @@ jobs:
- name: Lint - name: Lint
run: | run: |
make lint make lint
- name: Test
run: |
make test

View File

@ -9,6 +9,10 @@ generate:
dagger: generate dagger: generate
go build -o ./cmd/dagger/ ./cmd/dagger/ go build -o ./cmd/dagger/ ./cmd/dagger/
.PHONY: test
test:
go test -v ./...
.PHONY: cuefmt .PHONY: cuefmt
cuefmt: cuefmt:
@(cd ./dagger && cue fmt -s ./... && cue trim -s ./...) @(cd ./dagger && cue fmt -s ./... && cue trim -s ./...)