From 95ceb7fcc71f154910b6220f1f49909f7ed00a62 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Fri, 10 Sep 2021 16:30:36 +0200 Subject: [PATCH] put test commands directly in drone.yml --- .drone.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1f30e2461..ec1a6aa85 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,10 +31,9 @@ steps: volumes: - name: go-build-cache path: /root/.cache/go-build - environment: - GTS_DB_ADDRESS: postgres commands: - - ./scripts/test.sh + - GTS_DB_TYPE="sqlite" GTS_DB_ADDRESS=":memory:" go test -count 1 -p 1 ./... + - GTS_DB_TYPE="postgres" GTS_DB_ADDRESS="postgres" go test -count 1 -p 1 ./... when: event: include: @@ -83,6 +82,6 @@ trigger: --- kind: signature -hmac: 07325ed3186a319e5cf98f2307f04c4a10b01b2bd8fb394a2e633502041bfb90 +hmac: 764ac2de691c436bd86c6cc94b862cde2b5558e4de65ff68bb0d227de1736783 ...