From 76ae8f3a44a7b49e2ad7c558134763667d3faff1 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Thu, 21 Nov 2019 15:35:51 -0800 Subject: [PATCH] Do build and test in one step Speed up build time by moving these two tasks to one step so that a new container doesn't have to be spun up and the cached modules from the build step are reused in the test step. --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 182520b..9f32559 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,14 +3,11 @@ kind: pipeline name: test steps: - - name: build - image: golang:1.12 - commands: - - make build - name: test image: golang:1.12 commands: + - make build - make test - name: check