Skip to content

Conversation

@dgarros
Copy link
Contributor

@dgarros dgarros commented Jan 4, 2025

Related to #187

Still exploring what is the best way to manage schemas and related data for testing

@codecov
Copy link

codecov bot commented Jan 4, 2025

Codecov Report

Attention: Patch coverage is 96.26866% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/testing/schemas/car_person.py 95.00% 3 Missing ⚠️
infrahub_sdk/testing/schemas/animal.py 97.05% 1 Missing and 1 partial ⚠️
@@            Coverage Diff             @@
##           stable     #211      +/-   ##
==========================================
+ Coverage   66.33%   67.79%   +1.46%     
==========================================
  Files          81       82       +1     
  Lines        7259     7360     +101     
  Branches     1409     1438      +29     
==========================================
+ Hits         4815     4990     +175     
+ Misses       2059     1993      -66     
+ Partials      385      377       -8     
Flag Coverage Δ
integration-tests 12.54% <94.02%> (+5.33%) ⬆️
python-3.10 43.12% <1.49%> (-0.58%) ⬇️
python-3.11 43.12% <1.49%> (-0.58%) ⬇️
python-3.12 43.12% <1.49%> (-0.58%) ⬇️
python-3.13 43.12% <1.49%> (-0.58%) ⬇️
python-3.9 41.56% <1.49%> (-1.24%) ⬇️
python-filler-3.12 24.10% <2.23%> (-0.35%) ⬇️

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

Files with missing lines Coverage Δ
infrahub_sdk/branch.py 54.92% <100.00%> (+9.21%) ⬆️
infrahub_sdk/schema/main.py 83.40% <100.00%> (+0.06%) ⬆️
infrahub_sdk/testing/schemas/animal.py 97.05% <97.05%> (ø)
infrahub_sdk/testing/schemas/car_person.py 78.64% <95.00%> (+5.30%) ⬆️

... and 4 files with indirect coverage changes

@dgarros dgarros marked this pull request as ready for review January 5, 2025 07:14
@dgarros dgarros merged commit 0889718 into stable Jan 5, 2025
14 checks passed
@dgarros dgarros deleted the dga-20250104-cont-int-tests branch January 5, 2025 07:17
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.

2 participants