Skip to content

Fixes for two CI issues#872

Merged
alifbe merged 2 commits into
equinor:mainfrom
alifbe:fix-fixture-autouse
Jun 15, 2026
Merged

Fixes for two CI issues#872
alifbe merged 2 commits into
equinor:mainfrom
alifbe:fix-fixture-autouse

Conversation

@alifbe

@alifbe alifbe commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Fixes for two CI issues:

  • Linting with new RUFF complains that we should not use autouse=True for the fixture. Remove it the flag fixes the issue since the tests actually explicitly specify the fixture.t
  • Matplotlib 3.11.0 changes the plotting slightly, causing summaryplot tests to fail. Update the baseline to fix it.

@codecov-commenter

codecov-commenter commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.53%. Comparing base (d26a072) to head (cde3e89).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #872   +/-   ##
=======================================
  Coverage   84.53%   84.53%           
=======================================
  Files          49       49           
  Lines        7405     7405           
=======================================
  Hits         6260     6260           
  Misses       1145     1145           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the test suite to avoid running the datatree session fixture implicitly for every test, since it’s already requested explicitly by the tests that need it. This should reduce unnecessary setup work during test runs.

Changes:

  • Removed autouse=True from the datatree session fixture so it only executes for tests that request datatree.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alifbe alifbe marked this pull request as ready for review June 14, 2026 07:57
@alifbe alifbe changed the title TST: Set autouse=False for datatree fixture Fixes for two CI issues Jun 14, 2026
@alifbe alifbe requested review from larsevj and rnyb June 14, 2026 08:00

@rnyb rnyb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alifbe alifbe force-pushed the fix-fixture-autouse branch from 618c823 to cde3e89 Compare June 15, 2026 05:56
@alifbe alifbe merged commit 3146e4a into equinor:main Jun 15, 2026
7 checks passed
@alifbe alifbe deleted the fix-fixture-autouse branch June 15, 2026 06:58
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.

4 participants