From 0a5ce27b18e88a90e9d128e4cb26c8ed6fa105e2 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 10 Jun 2021 20:39:03 +0800 Subject: [PATCH] improve drone --- .drone.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0b84ab78..dde501f3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,7 @@ steps: path: /go/pkg/mod commands: - make vet -- name: test-sqlite +- name: test-sqlite3 image: golang:1.15 volumes: - name: cache @@ -26,10 +26,18 @@ steps: - test-vet commands: - make fmt-check - - make test - make test-sqlite3 - TEST_CACHE_ENABLE=true make test-sqlite3 - TEST_QUOTE_POLICY=reserved make test-sqlite3 +- name: test-sqlite + image: golang:1.15 + volumes: + - name: cache + path: /go/pkg/mod + depends_on: + - test-vet + commands: + - make test - make test-sqlite - TEST_CACHE_ENABLE=true make test-sqlite - TEST_QUOTE_POLICY=reserved make test-sqlite