Try again to get CI code coverage working
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2021-04-01 18:44:08 -04:00
parent 01d1dbc834
commit cac89de4dc

3
Jenkinsfile vendored
View File

@ -33,8 +33,7 @@ pipeline {
steps {
sh "go get github.com/axw/gocov/..."
sh "go get github.com/AlekSi/gocov-xml"
sh "go get github.com/gorilla/mux"
sh "go run github.com/axw/gocov/gocov test github.com/gorilla/mux | go run github.com/AlekSi/gocov-xml > coverage.xml"
sh "go run github.com/axw/gocov/gocov test . | go run github.com/AlekSi/gocov-xml > coverage.xml"
}
}
}