Skip to content

stabilize test coverage results#33

Merged
mbdevpl merged 1 commit intomainfrom
feature/codecov-fix
Feb 21, 2025
Merged

stabilize test coverage results#33
mbdevpl merged 1 commit intomainfrom
feature/codecov-fix

Conversation

@mbdevpl
Copy link
Owner

@mbdevpl mbdevpl commented Feb 21, 2025

No description provided.

@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Feb 21, 2025

First PR build failed: GitHub-mbdevpl/system-query/PR-33 [build #1]

@mbdevpl mbdevpl self-assigned this Feb 21, 2025
@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Feb 21, 2025

Tools report for GitHub-mbdevpl/system-query/PR-33 [build #2]:

  • Pylint: ran 🆗

  • Mypy: ran 🆗

  • Flake518: ran 🆗

  • Pydocstyle: ran 🆗

  • Coverage: 87% 🆗 (click for details)
    Name                                 Stmts   Miss Branch BrPart  Cover   Missing
    --------------------------------------------------------------------------------
    setup.py                                12      0      2      0   100%
    system_query/__init__.py                 9      0      0      0   100%
    system_query/__main__.py                 9      0      2      0   100%
    system_query/_version.py                 2      0      0      0   100%
    system_query/all_info.py                10      0      0      0   100%
    system_query/available_features.py      59     12      2      1    79%   12-15, 43-45, 50-51, 56, 58->61, 71-73
    system_query/cpu_info.py                47      4     18      2    91%   17-18, 20, 39
    system_query/errors.py                   1      0      0      0   100%
    system_query/gpu_info.py                33     13     12      1    64%   14-18, 23-39
    system_query/hdd_info.py                25      0      8      1    97%   25->36
    system_query/host_info.py                4      0      0      0   100%
    system_query/main.py                    14      0      0      0   100%
    system_query/os_info.py                  4      0      0      0   100%
    system_query/query.py                   39      0     12      0   100%
    system_query/ram_info.py                57     30     12      1    43%   26, 35, 37, 40-51, 59, 64-80
    system_query/software_info.py           53      6     16      2    88%   63, 66-67, 70, 73-74, 85->87
    system_query/swap_info.py                7      0      2      0   100%
    test/__init__.py                         5      0      0      0   100%
    test/test_all_info.py                   23      5      4      1    70%   24-28
    test/test_available_features.py         16      1      0      0    94%   17
    test/test_cpu_info.py                   41      0      0      0   100%
    test/test_gpu_info.py                   21      0      2      0   100%
    test/test_hdd_info.py                   10      0      0      0   100%
    test/test_main.py                       78      0      8      0   100%
    test/test_packaging.py                   3      0      0      0   100%
    test/test_query.py                      21      0      0      0   100%
    test/test_software_info.py               7      0      0      0   100%
    test/test_with_sudo.py                   7      1      0      0    86%   13
    --------------------------------------------------------------------------------
    TOTAL                                  617     72    100      9    87%
    

@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Feb 21, 2025

PR build fixed: GitHub-mbdevpl/system-query/PR-33 [build #2]

@codecov
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.11%. Comparing base (21e6f08) to head (dae6c5c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   86.87%   90.11%   +3.24%     
==========================================
  Files          28       28              
  Lines         617      617              
  Branches       50       50              
==========================================
+ Hits          536      556      +20     
+ Misses         72       54      -18     
+ Partials        9        7       -2     

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

@mbdevpl mbdevpl merged commit 688bfb8 into main Feb 21, 2025
15 checks passed
@mbdevpl mbdevpl deleted the feature/codecov-fix branch February 21, 2025 15:34
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.

1 participant