Skip to content
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

Comment coverage report on PR and update publication list in README #165

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

mcw92
Copy link
Member

@mcw92 mcw92 commented Sep 23, 2024

This tiny PR adds an action to the test workflow that comments the coverage report on a PR. In addition, it introduces an updated publication list in the README.

Fixes #164.

@mcw92 mcw92 added documentation Improvements or additions to documentation maintenance Improve code readability and robustness. labels Sep 23, 2024
@mcw92 mcw92 requested a review from oskar-taubert September 23, 2024 08:47
@mcw92 mcw92 self-assigned this Sep 23, 2024
@mcw92 mcw92 linked an issue Sep 23, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Sep 23, 2024

Name Stmts Miss Cover Missing
propulate/__init__.py 15 2 87% 6-7
propulate/_globals.py 6 0 100%
propulate/islands.py 83 5 94% 135, 170, 178, 211, 217
propulate/migrator.py 182 15 92% 200, 240, 268-288, 434-441
propulate/pollinator.py 175 10 94% 186, 317, 353, 355-359, 370, 420-424
propulate/population.py 121 14 88% 43, 60, 85-86, 103, 112, 126, 131, 148, 156, 160, 170, 204, 247
propulate/propagators/__init__.py 6 0 100%
propulate/propagators/base.py 101 16 84% 68, 96, 148, 258, 263-268, 339, 393, 446, 520, 523-526
propulate/propagators/cmaes.py 188 22 88% 229-237, 244-246, 262-269, 336, 370, 395, 761, 807-808
propulate/propagators/ga.py 115 49 57% 61, 92-94, 155-167, 183-203, 263, 343, 401, 417-423, 465-466, 482-496
propulate/propagators/nm.py 80 0 100%
propulate/propagators/pso.py 120 30 75% 144, 151-153, 340, 523, 553, 559-560, 616-621, 642-673
propulate/propulator.py 283 29 90% 143-145, 187-190, 258-259, 360, 372, 415-416, 437, 439-443, 511-512, 538-539, 567, 574-575, 624, 631-633
propulate/surrogate.py 138 26 81% 42, 62, 80, 104, 124, 142, 290-292, 461, 465, 476-488, 550, 553, 557, 561, 567, 584
propulate/utils/__init__.py 37 3 92% 79, 139-140
propulate/utils/benchmark_functions.py 137 31 77% 586, 609-683
TOTAL 1787 252 86%

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.89%. Comparing base (5bf6e70) to head (7c5b720).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #165   +/-   ##
=======================================
  Coverage   85.89%   85.89%           
=======================================
  Files          16       16           
  Lines        1787     1787           
=======================================
  Hits         1535     1535           
  Misses        252      252           

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

@oskar-taubert oskar-taubert merged commit 91860e7 into main Sep 23, 2024
9 checks passed
@mcw92 mcw92 deleted the maintenance/comment_coverage_report_pr branch September 23, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation maintenance Improve code readability and robustness.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update publication list in README
3 participants