From 80a99aa9c26b257dd67121b8e0cf65679e17af18 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Wed, 8 Jun 2022 11:10:29 +0200 Subject: [PATCH] added tests to drone --- .drone.yml | 4 ++++ Makefile | 4 ++++ 2 files changed, 8 insertions(+) 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/