devops - drone test

This commit is contained in:
Mahdi Abu Yasmine 2023-12-12 23:55:19 +01:00
parent d0cb5d8502
commit eff5867ddf

23
db/.drone.yml Normal file
View File

@ -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: {}