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 test coverage #2020

Merged
merged 20 commits into from
Jul 1, 2024
Merged

Fix test coverage #2020

merged 20 commits into from
Jul 1, 2024

Conversation

koxudaxi
Copy link
Owner

No description provided.

Copy link

codecov bot commented Jun 29, 2024

Codecov Report

Attention: Patch coverage is 55.55556% with 4 lines in your changes missing coverage. Please review.

Project coverage is 99.85%. Comparing base (ea22425) to head (24c2e76).

Files Patch % Lines
datamodel_code_generator/parser/base.py 66.66% 0 Missing and 2 partials ⚠️
datamodel_code_generator/parser/jsonschema.py 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2020      +/-   ##
==========================================
+ Coverage   98.82%   99.85%   +1.03%     
==========================================
  Files          38       38              
  Lines        4243     4193      -50     
  Branches      991      967      -24     
==========================================
- Hits         4193     4187       -6     
+ Misses         31        2      -29     
+ Partials       19        4      -15     
Flag Coverage Δ
unittests 99.52% <55.55%> (+1.03%) ⬆️

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.

Copy link

codspeed-hq bot commented Jun 29, 2024

CodSpeed Performance Report

Merging #2020 will not alter performance

Comparing fix_test_coverage (24c2e76) with main (ea22425)

Summary

✅ 29 untouched benchmarks

@koxudaxi
Copy link
Owner Author

koxudaxi commented Jul 1, 2024

@koxudaxi koxudaxi merged commit bec88d6 into main Jul 1, 2024
92 of 94 checks passed
@koxudaxi koxudaxi deleted the fix_test_coverage branch July 1, 2024 09:44
bpsoos pushed a commit to bpsoos/datamodel-code-generator that referenced this pull request Jul 1, 2024
* Fix test coverage

* Fix test coverage

* Update output.py

* Fix test coverage

* Fix coverage

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix coverage

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
koxudaxi added a commit that referenced this pull request Jul 4, 2024
…r --use-annotated (#2016)

* 🩹 fixes graphql parser use-standard-collections and use-union-operator

* 🩹 fixes graphql parser to use annoteted on typename fields

* ♻️ refactors tests

* ♻️ refactors tests

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors tests

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* 🩹 fixes failing test

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors test_main into multiple files

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors test_main into multiple files

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* 🩹 fixes msgspec output file name

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors jsonschema expectations

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors jsonschema expectations

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors jsonschema expectations

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors openapi expectations

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* ♻️ refactors csv json yaml and general expectations

Signed-off-by: bpsoos <soos.peter.96@gmail.com>

* Fix test coverage (#2020)

* Fix test coverage

* Fix test coverage

* Update output.py

* Fix test coverage

* Fix coverage

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix coverage

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

* Fix coverage

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Fix coverage (#2023)

* Fix coverage

* Fix coverage

* docs: Update airbyte use case + fix broken link (#2021)

Co-authored-by: Koudai Aono <koxudaxi@gmail.com>

* formats

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: bpsoos <soos.peter.96@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Koudai Aono <koxudaxi@gmail.com>
Co-authored-by: Natik Gadzhi <natik@respawn.io>
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