Do build and test in one step
continuous-integration/drone/push Build is passing Details

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.
This commit is contained in:
IamTheFij 2019-11-21 15:35:51 -08:00
parent 9b9f803231
commit 76ae8f3a44
1 changed files with 1 additions and 4 deletions

View File

@ -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