Skip to content

Fix docker conditional import for tests #1655

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Emantor
Copy link
Member

@Emantor Emantor commented May 10, 2025

Description
This way we can correctly skip the tests if the module is not available,
otherwise we gat a ModuleNotFoundError because of the unconditional
docker import.

Checklist

  • PR has been tested

@Emantor Emantor force-pushed the fix/docker-conditional-import branch from 0fdd961 to 47f0f3b Compare May 10, 2025 10:32
Copy link

codecov bot commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.8%. Comparing base (6d8febb) to head (f0b672a).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1655   +/-   ##
======================================
  Coverage    55.8%   55.8%           
======================================
  Files         170     170           
  Lines       13388   13388           
======================================
  Hits         7472    7472           
  Misses       5916    5916           
Flag Coverage Δ
3.10 55.8% <ø> (ø)
3.11 55.8% <ø> (ø)
3.12 55.8% <ø> (ø)
3.13 55.7% <ø> (ø)
3.9 55.8% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@Emantor Emantor changed the title Fix/docker conditional import Fix docker conditional import for tests May 10, 2025
@Emantor
Copy link
Member Author

Emantor commented May 10, 2025

@b2vn could you give this a spin? I currently do not have a docker setup.

@Emantor Emantor force-pushed the fix/docker-conditional-import branch from 47f0f3b to f03b75e Compare May 10, 2025 10:41
This way we can correctly skip the tests if the module is not available,
otherwise we gat a ModuleNotFoundError because of the unconditional
docker import.

Signed-off-by: Rouven Czerwinski <[email protected]>
@Emantor Emantor force-pushed the fix/docker-conditional-import branch from f03b75e to f0b672a Compare May 10, 2025 10:53
@Emantor Emantor requested a review from Bastian-Krause May 13, 2025 13:18
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