added tests to drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Djeeberjr 2022-06-08 11:10:29 +02:00
parent 7e27745bf7
commit 80a99aa9c2
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,10 @@ type: docker
name: default
steps:
- name: test
image: golang:1.14
commands:
- make test
- name: docker
image: plugins/docker
settings:

View File

@ -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/