Skip to content

Fix sonar coverage#109

Merged
SarahAlidoost merged 3 commits into
mainfrom
fix_sonar
Apr 3, 2026
Merged

Fix sonar coverage#109
SarahAlidoost merged 3 commits into
mainfrom
fix_sonar

Conversation

@SarahAlidoost
Copy link
Copy Markdown
Collaborator

@SarahAlidoost SarahAlidoost commented Apr 3, 2026

closes #101

As @SCiarella explained here, coverage run only tracks coverage for the main process, not the worker subprocesses. Since we have pytest-cov as dependency already, I replaced coverage run with the pytest-cov, which handles parallel coverage correctly. Also, I use --fast option for coverage.
But I'm not sure how to test this, since this PR doesnot have new codes. --> I checked the results of the action, it seems that coverage is now 93% 😄

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 3, 2026

@SarahAlidoost SarahAlidoost marked this pull request as ready for review April 3, 2026 08:13
@SarahAlidoost SarahAlidoost requested a review from SCiarella April 3, 2026 08:16
@SCiarella
Copy link
Copy Markdown
Collaborator

Fantastic! Let's merge this 🚀

@SarahAlidoost SarahAlidoost merged commit 17fb15c into main Apr 3, 2026
6 checks passed
@SarahAlidoost SarahAlidoost deleted the fix_sonar branch April 3, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SonarCloud quality gate is failing

2 participants