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.
This commit is contained in:
Ian Fijolek
2019-11-21 15:35:51 -08:00
parent 9b9f803231
commit 76ae8f3a44
+1 -4
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