Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tests): Prevent MPI from breaking doc tests #160

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Conversation

musoke
Copy link
Owner

@musoke musoke commented Aug 31, 2023

Initialization of MPI occasionally results in output warning that features are unavailable, etc. This is not relevant to the doc tests, but can break them by writing to stderr.

Initialize MPI before running any other tests.

Fixes #71

Initialization of MPI occasionally results in output warning that
features are unavailable, etc.  This is not relevant to the doc tests,
but can break them by writing to stderr.

Initialize MPI before running any other tests.

Fixes #71
@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.17% ⚠️

Comparison is base (a6f5232) 85.04% compared to head (6068a58) 84.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
- Coverage   85.04%   84.88%   -0.17%     
==========================================
  Files           8        8              
  Lines         602      602              
==========================================
- Hits          512      511       -1     
- Misses         90       91       +1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@musoke musoke merged commit b8a460f into main Aug 31, 2023
11 of 12 checks passed
@musoke musoke deleted the fix-doctest-MPI-error branch August 31, 2023 01:49
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.

doctests: Tests on PencilGrids don't run locally
1 participant