Add CI filter to fail on all parcels warnings - #2777
Open
erikvansebille wants to merge 9 commits into
Open
Conversation
As a start to implement Parcels-code#2413
Avoiding warning "UserWarning: Variables {'fesom_mesh'} not found in object but are referred to in the CF attributes"
/Users/erik/Codes/parcels/tests/test_advection.py:97: FutureWarning: In a future version of xarray the default value for data_vars will change from data_vars='all' to data_vars=None. This is likely to lead to different results when multiple datasets have matching variables with overlapping values. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set data_vars explicitly.
Member
Author
|
There is only one warning left on the test-suite: Not sure if this is something we want to keep; or also want to suppress. Any thoughts, @VeckoTheGecko |
erikvansebille
marked this pull request as ready for review
July 28, 2026 14:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
As seen in #2775, it would be good to have CI fail when the unit tests throw warnings, as also proposed in #2413. This PR implements that
Checklist
mainfor normal development,v3-supportfor v3 support)AI Disclosure
None