From eff5867ddf3eb813b73611a88a7139ae547cddc8 Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 12 Dec 2023 23:55:19 +0100 Subject: [PATCH] devops - drone test --- db/.drone.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 db/.drone.yml diff --git a/db/.drone.yml b/db/.drone.yml new file mode 100644 index 0000000..a2753d5 --- /dev/null +++ b/db/.drone.yml @@ -0,0 +1,23 @@ +kind: pipeline +name: default + +steps: +- name: test + image: golang + volumes: + - name: deps + path: /go + commands: + - go test ./... + +- name: build + image: golang + volumes: + - name: deps + path: /go + commands: + - go build ./... + +volumes: +- name: deps + temp: {} \ No newline at end of file