diff --git a/.drone.yml b/.drone.yml index e59ce9d..41520d1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,10 @@ type: docker name: default steps: +- name: test + image: golang:1.14 + commands: + - make test - name: docker image: plugins/docker settings: diff --git a/Makefile b/Makefile index a13f5aa..607ecef 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,10 @@ deps: node_modules node_modules: npm install +.PHONY: test +test: + go test -v ./... + .PHONY:clean clean: rm -rf $(BUILD_DIR) && rm -rf public/build/