sktime / pytorch-forecasting

Time series forecasting with PyTorch
https://pytorch-forecasting.readthedocs.io/
MIT License
3.99k stars 631 forks source link

[MNT] CI runs without soft dependencies #1638

Closed fkiraly closed 2 months ago

fkiraly commented 2 months ago

This adds test runs without soft dependencies.

The run covers currently removal of the two extant soft dependency sets, graph and mqf2. This tests isolation in the extents of test coverage, and also isolation of the tests themselves requiring these.

The setup can be extended in the future to further soft dependency sets, testing that the code functions in their absence.

codecov-commenter commented 2 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

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

Project coverage is 90.20%. Comparing base (b694b0c) to head (63d20d3).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1638 +/- ## ========================================== + Coverage 89.99% 90.20% +0.21% ========================================== Files 32 32 Lines 4729 4729 ========================================== + Hits 4256 4266 +10 + Misses 473 463 -10 ``` | [Flag](https://app.codecov.io/gh/jdb78/pytorch-forecasting/pull/1638/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Beitner) | Coverage Δ | | |---|---|---| | [cpu](https://app.codecov.io/gh/jdb78/pytorch-forecasting/pull/1638/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Beitner) | `90.20% <ø> (+0.21%)` | :arrow_up: | | [pytest](https://app.codecov.io/gh/jdb78/pytorch-forecasting/pull/1638/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Beitner) | `90.20% <ø> (+0.21%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Beitner#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.