frgfm / torch-cam

Class activation maps for your PyTorch models (CAM, Grad-CAM, Grad-CAM++, Smooth Grad-CAM++, Score-CAM, SS-CAM, IS-CAM, XGrad-CAM, Layer-CAM)
https://frgfm.github.io/torch-cam/
Apache License 2.0
1.99k stars 205 forks source link

ci: Decouple coverage report & upload #234

Closed frgfm closed 8 months ago

frgfm commented 8 months ago

This PR tries to decouple again the generation of the coverage report (running the test) from the upload. Making sure the tests are running is critical, affording an upload failure or slight decrease in coverage is not.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2a8b11b) 97.25% compared to head (7dc3038) 97.25%. Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/frgfm/torch-cam/pull/234/graphs/tree.svg?width=650&height=150&src=pr&token=bmzD6bZSAX&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez)](https://app.codecov.io/gh/frgfm/torch-cam/pull/234?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez) ```diff @@ Coverage Diff @@ ## main #234 +/- ## ======================================= Coverage 97.25% 97.25% ======================================= Files 8 8 Lines 437 437 ======================================= Hits 425 425 Misses 12 12 ```
github-actions[bot] commented 8 months ago

Hey @frgfm 👋 You merged this PR, but it is not correctly labeled. The list of valid labels is available at https://github.com/frgfm/torch-cam/blob/main/.github/verify_labels.py