From 4237ce6bdac40b4f73c47db61896d2a7bbd03bfc Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Fri, 26 Apr 2019 12:10:38 +0200 Subject: [PATCH] Build tags to separate integration tests --- .drone.yml | 2 +- cncd/pipeline/pipec/exec_test.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 665ccbdce..76bf81c25 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ pipeline: - go get -u golang.org/x/net/context/ctxhttp - go get -u github.com/golang/protobuf/proto - go get -u github.com/golang/protobuf/protoc-gen-go - - go test -cover $(go list ./... | grep -v /vendor/ | grep -v cncd/pipeline/pipec) + - go test -cover $(go list ./... | grep -v /vendor/) test_postgres: image: golang:1.12 diff --git a/cncd/pipeline/pipec/exec_test.go b/cncd/pipeline/pipec/exec_test.go index 7d305e9ed..1c8db673c 100644 --- a/cncd/pipeline/pipec/exec_test.go +++ b/cncd/pipeline/pipec/exec_test.go @@ -1,3 +1,5 @@ +// +build integration + package main import (