I found an issue that my drone that install this plugin cannot run the command go test ./.... After build got trigger, it will convert go test command into go test ./.
This is the example of test case:
kind: pipeline
type: kubernetes
name: default
steps:
- name: vendor
image: golang:1.14-alpine3.11
environment:
CGO_ENABLED: 0
GO_PRIVATE: "<repo.com>/*"
commands:
- apk add --no-cache git
- go mod vendor
- name: test
image: golang:1.14-alpine3.11
environment:
CGO_ENABLED: 0
commands:
- go test ./...
I found an issue that my drone that install this plugin cannot run the command
go test ./...
. After build got trigger, it will convert go test command intogo test ./
.This is the example of test case:
The result of my ci is :