Full disclose I don’t use travis and I’m not sure why you’re seeing those warnings about missing test files, but I have been fighting with getting Go coverage and test reports into Sonar for a few days now and finally have it working, so here is a link to the rundown of my build-test process and settings. My inclusions and exclusions are a bit different from yours and I recall seeing some posts about how sonar scanner uses the exclusions and test.exclusions that can result in some behavior that is not intuitive from the property names. Take a look at and maybe emulate my config below and see if that helps?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can't get tests report | 2 | 1309 | July 15, 2020 | |
All my .go files are reported to be "excluded for coverage" | 9 | 4853 | July 3, 2020 | |
Does Sonarqube server has support for showing integration test code coverage for Go lang? | 2 | 497 | December 18, 2023 | |
Go files are not included in the coverage | 8 | 268 | May 17, 2024 | |
SonarGo not able to follow path to test results | 1 | 1440 | June 25, 2019 |