Skip to content

Conversation

dragomirp
Copy link
Contributor

  • Increase unit test coverage
  • Make tests run on python 3.12+

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

Copy link

codecov bot commented Sep 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.64%. Comparing base (d35338f) to head (29663a4).
⚠️ Report is 1 commits behind head on 16/edge.

❌ Your project status has failed because the head coverage (40.64%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           16/edge       #9      +/-   ##
===========================================
+ Coverage    32.21%   40.64%   +8.42%     
===========================================
  Files            3        3              
  Lines          776      780       +4     
  Branches        91       92       +1     
===========================================
+ Hits           250      317      +67     
+ Misses         518      448      -70     
- Partials         8       15       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linting for the tests only. We have to keep 3.8 compatibility for PGB VM charm, but there's no need to also keep 3.8 support for the tests.

Comment on lines -44 to -46
exclude_lines = [
"logger\\.debug"
]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to exclude as we bump coverage.

@dragomirp dragomirp marked this pull request as ready for review September 6, 2025 15:23
@dragomirp dragomirp requested review from a team, marceloneppel and taurus-forever and removed request for a team September 6, 2025 15:23
Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dragomirp dragomirp merged commit 3c33016 into 16/edge Sep 9, 2025
7 of 8 checks passed
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.

3 participants