dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
384 stars 126 forks source link

Avoid test collection failure with optional dependency astropy #955

Closed sdhiscocks closed 4 months ago

sdhiscocks commented 4 months ago

Tests are now skipped if astropy is missing.

codecov[bot] commented 4 months ago

Codecov Report

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

Comparison is base (fa56a94) 93.24% compared to head (b4d8b6d) 93.24%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #955 +/- ## ======================================= Coverage 93.24% 93.24% ======================================= Files 201 201 Lines 12617 12617 Branches 2589 2589 ======================================= Hits 11765 11765 Misses 602 602 Partials 250 250 ``` | [Flag](https://app.codecov.io/gh/dstl/Stone-Soup/pull/955/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/dstl/Stone-Soup/pull/955/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `66.63% <ø> (-0.01%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/dstl/Stone-Soup/pull/955/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `88.64% <ø> (ø)` | | 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=dstl#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.