We have a monorepo structure containing multiple Web API projects, each with its corresponding unit test project. During our GitHub Actions workflow:
- Each test project generates its own coverage report (OpenCover format)
- These reports are stored in separate artifacts (e.g., microsoft-test, dynamics-test, spotify-test, etc.)
- When running SonarQube analysis, we need to include coverage data from all test projects
Current challenge:
- Multiple artifacts containing coverage.opencover.xml files
- Need to analyze all coverage data under a single SonarQube project
- Want to avoid coverage data being overwritten
- Need correct consolidated coverage metrics
How can we configure our GitHub Actions workflow and SonarQube analysis to properly handle multiple coverage reports from different test projects?"