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

Display test coverage reports on PRs #167

Merged
merged 6 commits into from
Mar 8, 2023
Merged

Display test coverage reports on PRs #167

merged 6 commits into from
Mar 8, 2023

Conversation

gomezzz
Copy link
Collaborator

@gomezzz gomezzz commented Mar 8, 2023

Description

Updated workflow to post test-coverage and give more info on tests.

Resolved Issues

How Has This Been Tested?

Right here in this PR 🙃

Related Pull Requests

N/A

@gomezzz gomezzz added enhancement New feature or request tests Related to the tests labels Mar 8, 2023
@gomezzz gomezzz changed the base branch from main to develop March 8, 2023 10:33
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

Overall Coverage

Coverage Report
FileStmtsMissCoverMissing
boole_test.py32488%75–78
gradient_test.py96496%108, 270–272
helper_functions.py44198%314
integration_grid_test.py37489%83–86
integration_test_functions.py91298%50, 137
integrator_types_test.py57788%114–120
monte_carlo_test.py42490%100–103
rng_test.py38879%64–71
simpson_test.py45491%103–106
trapezoid_test.py46491%100–103
utils_integration_test.py107893%38–39, 200–206
vegas_map_test.py73593%18, 155–158
vegas_stratification_test.py50492%93–96
vegas_test.py1021387%227–241
torchquad
   __init__.py19190%1–42
torchquad/integration
   base_integrator.py42783%28, 57–60, 64, 87, 91, 96
   boole.py30390%54, 75–79
   integration_grid.py38392%32, 91, 94
   monte_carlo.py976038%99–100, 130–244
   newton_cotes.py965939%25, 122–225
   rng.py622658%72–75, 92–120, 140, 147, 154
   simpson.py29390%52, 71–75
   utils.py100991%100, 139, 170, 174, 181, 190, 193, 195, 210
   vegas.py161498%95, 99–100, 188
   vegas_map.py98694%263–273
torchquad/utils
   enable_cuda.py12650%16–21
   set_precision.py24388%35–38, 68
   set_up_backend.py19195%12
TOTAL176928184% 

Tests Skipped Failures Errors Time
48 0 💤 0 ❌ 0 🔥 1m 27s ⏱️

@gomezzz gomezzz requested a review from ilan-gold March 8, 2023 11:08
@gomezzz
Copy link
Collaborator Author

gomezzz commented Mar 8, 2023

Thought this may come in handy 🙃

@gomezzz gomezzz merged commit e266374 into develop Mar 8, 2023
@gomezzz gomezzz deleted the test-coverage branch March 8, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Related to the tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start investigating test coverage
3 participants