Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add GPU tests #13

Merged
merged 5 commits into from
Sep 26, 2023
Merged

add GPU tests #13

merged 5 commits into from
Sep 26, 2023

Conversation

mbdevpl
Copy link
Owner

@mbdevpl mbdevpl commented Sep 26, 2023

No description provided.

@mbdevpl mbdevpl self-assigned this Sep 26, 2023
@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Sep 26, 2023

Tools report for GitHub-mbdevpl/system-query/PR-13 [build #1]:

  • Pylint: ran 🆗

  • Mypy: ran 🆗

  • Flake518: problems ⚠️ (click for details)
    test/assets/generate_assets.py:66:5: F401 'pycuda.autoinit' imported but unused
    
  • Pydocstyle: ran 🆗

  • Coverage: 86% 🆗 (click for details)
    Name                                 Stmts   Miss Branch BrPart  Cover   Missing
    --------------------------------------------------------------------------------
    setup.py                                12      0      2      0   100%
    system_query/__init__.py                 8      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     15      8      2    69%   12-15, 47-56, 58->61, 71-73
    system_query/cpu_info.py                47      6     20      4    85%   14, 17-18, 20, 27, 39
    system_query/errors.py                   1      0      0      0   100%
    system_query/gpu_info.py                33     13     14      1    62%   14-18, 23-39
    system_query/hdd_info.py                25      0      9      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                   42      0     24      0   100%
    system_query/ram_info.py                57     30     18      4    44%   26, 35, 37, 40-51, 59, 64-80
    system_query/software_info.py           53      6     26      4    87%   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         10      1      0      0    90%   13
    test/test_cpu_info.py                   31      0      0      0   100%
    test/test_gpu_info.py                   21      0      2      0   100%
    test/test_hdd_info.py                   10      0      2      0   100%
    test/test_main.py                       78      0     40      0   100%
    test/test_packaging.py                   3      0      0      0   100%
    test/test_query.py                      23      0     14      0   100%
    test/test_software_info.py               7      0      0      0   100%
    test/test_with_sudo.py                   7      1      2      0    89%   13
    --------------------------------------------------------------------------------
    TOTAL                                  605     77    189     17    86%
    

@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

Merging #13 (90ef6d5) into main (7463755) will increase coverage by 2.86%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   88.20%   91.07%   +2.86%     
==========================================
  Files          28       28              
  Lines         602      605       +3     
  Branches       99      100       +1     
==========================================
+ Hits          531      551      +20     
+ Misses         58       44      -14     
+ Partials       13       10       -3     
Files Coverage Δ
system_query/__main__.py 100.00% <100.00%> (ø)
test/test_available_features.py 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Sep 26, 2023

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

  • Pylint: ran 🆗

  • Mypy: ran 🆗

  • Flake518: problems ⚠️ (click for details)
    test/assets/generate_assets.py:66:5: F401 'pycuda.autoinit' imported but unused
    
  • Pydocstyle: ran 🆗

  • Coverage: 86% 🆗 (click for details)
    Name                                 Stmts   Miss Branch BrPart  Cover   Missing
    --------------------------------------------------------------------------------
    setup.py                                12      0      2      0   100%
    system_query/__init__.py                 8      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     15      8      2    69%   12-15, 47-56, 58->61, 71-73
    system_query/cpu_info.py                47      6     20      4    85%   14, 17-18, 20, 27, 39
    system_query/errors.py                   1      0      0      0   100%
    system_query/gpu_info.py                33     13     14      1    62%   14-18, 23-39
    system_query/hdd_info.py                25      0      9      0   100%
    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                   42      0     24      0   100%
    system_query/ram_info.py                57     30     18      4    44%   26, 35, 37, 40-51, 59, 64-80
    system_query/software_info.py           53      6     26      4    87%   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         10      1      0      0    90%   13
    test/test_cpu_info.py                   31      0      0      0   100%
    test/test_gpu_info.py                   21      0      2      0   100%
    test/test_hdd_info.py                   10      0      2      0   100%
    test/test_main.py                       78      0     40      0   100%
    test/test_packaging.py                   3      0      0      0   100%
    test/test_query.py                      23      0     14      0   100%
    test/test_software_info.py               7      0      0      0   100%
    test/test_with_sudo.py                   7      1      2      0    89%   13
    --------------------------------------------------------------------------------
    TOTAL                                  605     77    189     16    86%
    

@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Sep 26, 2023

Tools report for GitHub-mbdevpl/system-query/PR-13 [build #3]:

  • Pylint: ran 🆗

  • Mypy: ran 🆗

  • Flake518: ran 🆗

  • Pydocstyle: ran 🆗

  • Coverage: 86% 🆗 (click for details)
    Name                                 Stmts   Miss Branch BrPart  Cover   Missing
    --------------------------------------------------------------------------------
    setup.py                                12      0      2      0   100%
    system_query/__init__.py                 8      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     15      8      2    69%   12-15, 47-56, 58->61, 71-73
    system_query/cpu_info.py                47      6     20      4    85%   14, 17-18, 20, 27, 39
    system_query/errors.py                   1      0      0      0   100%
    system_query/gpu_info.py                33     13     14      1    62%   14-18, 23-39
    system_query/hdd_info.py                25      0      9      0   100%
    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                   42      0     24      0   100%
    system_query/ram_info.py                57     30     18      4    44%   26, 35, 37, 40-51, 59, 64-80
    system_query/software_info.py           53      6     26      4    87%   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         10      1      0      0    90%   13
    test/test_cpu_info.py                   31      0      0      0   100%
    test/test_gpu_info.py                   21      0      2      0   100%
    test/test_hdd_info.py                   10      0      2      0   100%
    test/test_main.py                       78      0     40      0   100%
    test/test_packaging.py                   3      0      0      0   100%
    test/test_query.py                      23      0     14      0   100%
    test/test_software_info.py               7      0      0      0   100%
    test/test_with_sudo.py                   7      1      2      0    89%   13
    --------------------------------------------------------------------------------
    TOTAL                                  605     77    189     16    86%
    

@mbdevpl mbdevpl merged commit 1af17b6 into main Sep 26, 2023
@mbdevpl mbdevpl deleted the feature/test-gpu branch September 26, 2023 07:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant