Skip to content

try fixing ci test cov#487

Merged
FabianHofmann merged 5 commits intomasterfrom
fix/ci-cov
Mar 12, 2026
Merged

try fixing ci test cov#487
FabianHofmann merged 5 commits intomasterfrom
fix/ci-cov

Conversation

@FabianHofmann
Copy link
Contributor

The CI test coverage of the whole project seemed to have dropped because coverage are not collected across machines and some tests on windows are still skipped.

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and further explanations may be given in doc.
  • Unit tests for new features were added (if applicable).
  • Newly introduced dependencies are added to environment.yaml, environment_docs.yaml and setup.py (if applicable).
  • A note for the release notes doc/release_notes.rst of the upcoming release is included.
  • I consent to the release of this PR's code under the MIT license.

Coverage varies ~10% depending on whether the cutout cache exists:
- Cache miss (e.g. first Windows run of the day): ERA5 data download
  exercises datasets/era5.py and conversion code → ~72% coverage
- Cache hit: cutout fixtures load from disk, skipping data
  preparation code → ~61% coverage

The 15% threshold prevents false failures from this variance.
@FabianHofmann FabianHofmann merged commit 73052d4 into master Mar 12, 2026
19 checks passed
@FabianHofmann FabianHofmann deleted the fix/ci-cov branch March 12, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant