Skip to content

Commit

Permalink
Update coverage on Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 10, 2023
1 parent 565efe1 commit 4f198e2
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Pytest](https://github.com/NOAA-GSL/idss-engine-commons/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/NOAA-GSL/idss-engine-commons/actions/workflows/run-tests.yml) [![Lint with pylint](https://github.com/NOAA-GSL/idss-engine-commons/actions/workflows/linter.yml/badge.svg)](https://github.com/NOAA-GSL/idss-engine-commons/actions/workflows/linter.yml)

<!-- Pytest Coverage Comment:Begin -->
<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/README.md"><img alt="Coverage" src="https://img.shields.io/badge/Coverage-7%25-red.svg" /></a><details><summary>Coverage Report </summary><table><tr><th>File</th><th>Stmts</th><th>Miss</th><th>Cover</th><th>Missing</th></tr><tbody><tr><td colspan="5"><b>python/idsse_common/idsse/common</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/__init__.py">__init__.py</a></td><td>0</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/aws_utils.py">aws_utils.py</a></td><td>86</td><td>80</td><td>80</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/aws_utils.py#L 7%"> 7%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/config.py">config.py</a></td><td>68</td><td>48</td><td>48</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/config.py#L 29%"> 29%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/grid_proj.py">grid_proj.py</a></td><td>53</td><td>49</td><td>49</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/grid_proj.py#L 8%"> 8%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/json_message.py">json_message.py</a></td><td>22</td><td>22</td><td>22</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/json_message.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/log_util.py">log_util.py</a></td><td>40</td><td>40</td><td>40</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/log_util.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/path_builder.py">path_builder.py</a></td><td>157</td><td>152</td><td>152</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/path_builder.py#L 3%"> 3%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/publish_confirm.py">publish_confirm.py</a></td><td>153</td><td>153</td><td>153</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/publish_confirm.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/rabbitmq_utils.py">rabbitmq_utils.py</a></td><td>16</td><td>16</td><td>16</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/rabbitmq_utils.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/utils.py">utils.py</a></td><td>111</td><td>103</td><td>103</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/utils.py#L 7%"> 7%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/python/idsse_common/idsse/common/validate_schema.py">validate_schema.py</a></td><td>39</td><td>32</td><td>32</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main//home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/validate_schema.py#L 18%"> 18%</a></td></tr><tr><td><b>TOTAL</b></td><td><b>745</b></td><td><b>695</b></td><td><b>7%</b></td><td>&nbsp;</td></tr></tbody></table></details>
<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/README.md"><img alt="Coverage" src="https://img.shields.io/badge/Coverage-59%25-orange.svg" /></a><details><summary>Coverage Report </summary><table><tr><th>File</th><th>Stmts</th><th>Miss</th><th>Cover</th><th>Missing</th></tr><tbody><tr><td colspan="5"><b>idsse/common</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/__init__.py">__init__.py</a></td><td>0</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/aws_utils.py">aws_utils.py</a></td><td>86</td><td>5</td><td>5</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/aws_utils.py#L 94%"> 94%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/config.py">config.py</a></td><td>68</td><td>8</td><td>8</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/config.py#L 88%"> 88%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/grid_proj.py">grid_proj.py</a></td><td>53</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/json_message.py">json_message.py</a></td><td>22</td><td>22</td><td>22</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/json_message.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/log_util.py">log_util.py</a></td><td>40</td><td>40</td><td>40</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/log_util.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/path_builder.py">path_builder.py</a></td><td>157</td><td>41</td><td>41</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/path_builder.py#L 74%"> 74%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/publish_confirm.py">publish_confirm.py</a></td><td>155</td><td>155</td><td>155</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/publish_confirm.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/rabbitmq_utils.py">rabbitmq_utils.py</a></td><td>16</td><td>16</td><td>16</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/rabbitmq_utils.py#L 0%"> 0%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/utils.py">utils.py</a></td><td>94</td><td>9</td><td>9</td><td><a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/utils.py#L 90%"> 90%</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/NOAA-GSL/idss-engine-commons/blob/main/idsse/common/validate_schema.py">validate_schema.py</a></td><td>39</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td><b>TOTAL</b></td><td><b>730</b></td><td><b>296</b></td><td><b>59%</b></td><td>&nbsp;</td></tr></tbody></table></details>
<!-- Pytest Coverage Comment:End -->

## Overview
Expand Down
50 changes: 50 additions & 0 deletions python/idsse_common/test/coverage.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
============================= test session starts ==============================
platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common
plugins: cov-4.1.0
collected 112 items

test/test_aws_utils.py .................. [ 16%]
test/test_config.py ............ [ 26%]
test/test_grid_proj.py ............. [ 38%]
test/test_path_builder.py ..................... [ 57%]
test/test_utils.py ........................ [ 78%]
test/test_validate_schema.py ........................ [100%]

=============================== warnings summary ===============================
test/test_validate_schema.py:14
test/test_validate_schema.py:14
/home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/test/test_validate_schema.py:14: DeprecationWarning: Importing Validator directly from the jsonschema package is deprecated and will become an ImportError. Import it from jsonschema.protocols instead.
from jsonschema import Validator

idsse/common/validate_schema.py:16
idsse/common/validate_schema.py:16
/home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/validate_schema.py:16: DeprecationWarning: Importing Validator directly from the jsonschema package is deprecated and will become an ImportError. Import it from jsonschema.protocols instead.
from jsonschema import Validator, FormatChecker, RefResolver

idsse/common/validate_schema.py:16
idsse/common/validate_schema.py:16
/home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/validate_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
from jsonschema import Validator, FormatChecker, RefResolver

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/test/pytest.xml -

---------- coverage: platform linux, python 3.11.5-final-0 -----------
Name Stmts Miss Cover
-----------------------------------------------------
idsse/common/__init__.py 0 0 100%
idsse/common/aws_utils.py 86 5 94%
idsse/common/config.py 68 8 88%
idsse/common/grid_proj.py 53 0 100%
idsse/common/json_message.py 22 22 0%
idsse/common/log_util.py 40 40 0%
idsse/common/path_builder.py 157 41 74%
idsse/common/publish_confirm.py 155 155 0%
idsse/common/rabbitmq_utils.py 16 16 0%
idsse/common/utils.py 94 9 90%
idsse/common/validate_schema.py 39 0 100%
-----------------------------------------------------
TOTAL 730 296 59%

======================= 112 passed, 6 warnings in 0.97s ========================
Loading

0 comments on commit 4f198e2

Please sign in to comment.