Go example creates incomplete tests
Hi, I've been testing the Go template and stumbled upon an issue with the go test [...]
line. It tests all modules that are found via go list ./...
. go list will return only the top level package and does not find any other.
This is due to the ln -svf [...]
line, that links every file or dir in the projects top level directory. I'm sure this could result in even more issues, since go list ./...
is used in more places in the file. I will send a pull request soon that addresses this issue.
This is BTW a great gitlab-ci.yml
-template and should be much higher up in google when searching golang gitlab-ci