Skip to content

Conversation

@fatih-acar
Copy link
Contributor

@fatih-acar fatih-acar commented Apr 4, 2025

Remove this hardcoded fixture, otherwise using the TestInfrahubDockerClient class will use the latest Infrahub tag unless the environment variable is set. We want to use the version from the infrahub-testcontainers in that case and not fallback to latest.

Related to opsmill/infrahub#6235

@codecov
Copy link

codecov bot commented Apr 4, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/testing/docker.py 33.33% 2 Missing ⚠️
@@             Coverage Diff             @@
##           develop     #344      +/-   ##
===========================================
- Coverage    73.83%   73.81%   -0.03%     
===========================================
  Files           92       92              
  Lines         8486     8485       -1     
  Branches      1657     1657              
===========================================
- Hits          6266     6263       -3     
- Misses        1787     1789       +2     
  Partials       433      433              
Flag Coverage Δ
integration-tests 25.22% <33.33%> (-0.04%) ⬇️
python-3.10 47.07% <0.00%> (+<0.01%) ⬆️
python-3.11 47.09% <0.00%> (+0.02%) ⬆️
python-3.12 47.07% <0.00%> (-0.02%) ⬇️
python-3.13 47.09% <0.00%> (+0.02%) ⬆️
python-3.9 45.49% <0.00%> (+0.02%) ⬆️
python-filler-3.12 24.26% <0.00%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
infrahub_sdk/testing/docker.py 58.33% <33.33%> (-9.67%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fatih-acar fatih-acar force-pushed the fac-fix-testcontainer-ver branch 2 times, most recently from 3fae22f to c11287b Compare April 4, 2025 20:45
@github-actions github-actions bot added the group/ci Issue related to the CI pipeline label Apr 4, 2025
@fatih-acar fatih-acar force-pushed the fac-fix-testcontainer-ver branch 3 times, most recently from 1de099f to 7dc8e86 Compare April 4, 2025 21:18
Copy link
Contributor

@dgarros dgarros left a comment

Choose a reason for hiding this comment

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

LGTM, would be good to merge it soon

@fatih-acar fatih-acar force-pushed the fac-fix-testcontainer-ver branch from 7dc8e86 to fc8ec3e Compare April 13, 2025 16:47
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 13, 2025

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: b8c4f9c
Status: ✅  Deploy successful!
Preview URL: https://f9f31937.infrahub-sdk-python.pages.dev
Branch Preview URL: https://fac-fix-testcontainer-ver.infrahub-sdk-python.pages.dev

View logs

@fatih-acar fatih-acar force-pushed the fac-fix-testcontainer-ver branch from fc8ec3e to 9ef7028 Compare April 13, 2025 16:48
@fatih-acar fatih-acar changed the base branch from stable to dga-20250413-housekeeping April 13, 2025 16:49
@fatih-acar fatih-acar force-pushed the fac-fix-testcontainer-ver branch from 1c86fc8 to 7284a4f Compare April 13, 2025 16:57
@fatih-acar
Copy link
Contributor Author

@dgarros I had to drop python 3.9 support, not sure if this was expected...

Base automatically changed from dga-20250413-housekeeping to develop April 14, 2025 09:46
@fatih-acar fatih-acar force-pushed the fac-fix-testcontainer-ver branch from 7284a4f to 0dc979d Compare April 16, 2025 07:47
@fatih-acar fatih-acar force-pushed the fac-fix-testcontainer-ver branch from 0dc979d to b8c4f9c Compare April 16, 2025 09:11
@dgarros dgarros merged commit 7b264c2 into develop Apr 16, 2025
18 checks passed
@dgarros dgarros deleted the fac-fix-testcontainer-ver branch April 16, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

group/ci Issue related to the CI pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants