-
Notifications
You must be signed in to change notification settings - Fork 0
Fix missing tests #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
Author
|
@codex review the PR |
- Generate both LCOV and XML coverage formats using gcovr - Configure SonarQube to use LCOV format (better supported for C++ without cfamily plugin) - Remove cfamily-specific properties (not available in free version) - Add coverage file validation and improved debugging - Fallback to XML if LCOV is not available This addresses the coverage reporting issue that stopped working ~4 months ago by using LCOV format which has better generic support in SonarQube.
- Replace gcovr --lcov with standard lcov tool for better compatibility - Add proper file existence checks before passing to SonarQube - Only include coverageReportPaths if file actually exists - Install lcov tool if not available - Better error handling to prevent SonarQube from failing on missing files
- Check for .gcda files before attempting LCOV generation - Use absolute path for --base-directory to ensure correct path mapping - Add fallback: if first attempt creates empty file, retry with minimal exclusions - Better diagnostics to identify why LCOV might not be generated - Properly handle cases where no coverage data exists
…sion=1)\n\n- Replace Cobertura XML with SonarQube generic format to satisfy parser\n- Keep HTML report for humans\n- Avoid 'Unknown report version: gcovr 6.0' error
…ailable - Add sonar.c.file.suffixes=-, sonar.cpp.file.suffixes=-, sonar.objc.file.suffixes=- - This prevents SonarQube from trying to analyze C++ code with CFamily plugin - We only use SonarQube for coverage reporting via generic coverage format - Code analysis is disabled, but coverage reporting will still work
- UnitTests now runs independently before MaterialEditorQML_test - This ensures all Google Tests (including Assimp tests) are executed - Previously UnitTests only ran if MaterialEditorQML_test was not found - Use separate output files for each test suite to avoid overwriting results
|
fernandotonon
added a commit
that referenced
this pull request
Nov 13, 2025
- Enable C++ file analysis by setting proper file suffixes (.cpp, .h, etc.) - Add cfamily configuration with compile_commands.json for better analysis - Ensure compile_commands.json is copied from build/ directory in CI - Combine build-wrapper support with cfamily analysis configuration This fixes the issue where SonarQube was showing 0 issues, duplications, and coverage after PR #94 was merged, which was caused by C++ file analysis being disabled.
fernandotonon
added a commit
that referenced
this pull request
Nov 13, 2025
- Enable C++ file analysis by setting proper file suffixes (.cpp, .h, etc.) - Add cfamily configuration with compile_commands.json for better analysis - Ensure compile_commands.json is copied from build/ directory in CI - Combine build-wrapper support with cfamily analysis configuration This fixes the issue where SonarQube was showing 0 issues, duplications, and coverage after PR #94 was merged, which was caused by C++ file analysis being disabled.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Summary
Change the translation gizmo to arrows

Technical Details
✨ Features
🐛 Bugfixes