ci: enable tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
49f0c0e149
commit
cf390e9243
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -32,3 +32,7 @@ jobs:
|
|||||||
- name: Lint
|
- name: Lint
|
||||||
run: |
|
run: |
|
||||||
make lint
|
make lint
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
make test
|
||||||
|
4
Makefile
4
Makefile
@ -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 ./...)
|
||||||
|
Reference in New Issue
Block a user