fix pomdan test gh action

pull/6636/head
Medya Gh 2020-02-14 18:55:45 -08:00
parent a7657f1b66
commit be3e200732
1 changed files with 1 additions and 0 deletions

View File

@ -322,6 +322,7 @@ jobs:
cd minikube_binaries
export PATH=${PATH}:`go env GOPATH`/bin
go tool test2json -t < ./report/testout.txt > ./report/testout.json || true
STAT=$(gopogh -in ./report/testout.json -out ./report/testout.html -name " $GITHUB_REF" -repo "${JOB_NAME} ${GITHUB_REF} ${GITHUB_REPOSITORY}" -details "${GITHUB_SHA}") || true
echo status: ${STAT}
FailNum=$(echo $STAT | jq '.NumberOfFail')
TestsNum=$(echo $STAT | jq '.NumberOfTests')