Skip to content

nox -r -s unit cover currently failing #839

Open
@tswast

Description

@tswast

We're missing a unit test session that installs the geopandas extras.

nox > Session unit-3.12 was successful.
nox > Running session cover
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/cover
nox > python -m pip install coverage pytest-cov
nox > coverage report --show-missing --fail-under=96
Name                                            Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------------------
pandas_gbq/__init__.py                              9      0      2      0   100%
pandas_gbq/_versions_helpers.py                     8      0      0      0   100%
pandas_gbq/auth.py                                 22      0      6      2    93%   50->53, 53->56
pandas_gbq/constants.py                             4      0      0      0   100%
pandas_gbq/exceptions.py                            7      0      0      0   100%
pandas_gbq/features.py                             47      0      6      0   100%
pandas_gbq/gbq.py                                 400     25    130     13    92%   136, 340, 373-374, 376-377, 427-435, 530-531, 566, 601->604, 610-611, 645, 653, 923-926, 932, 934, 941-944
pandas_gbq/load.py                                 99      0     30      0   100%
pandas_gbq/query.py                                64      4     20      1    94%   78-79, 183-184
pandas_gbq/schema/__init__.py                      45      0     24      0   100%
pandas_gbq/schema/bigquery.py                       7      1      6      1    85%   34
pandas_gbq/schema/pandas_to_bigquery.py            91      3     44      4    95%   123->131, 194, 207, 214
pandas_gbq/schema/pyarrow_to_bigquery.py           30      2     16      2    91%   78, 88
pandas_gbq/timestamp.py                             9      0      6      0   100%
pandas_gbq/version.py                               1      0      0      0   100%
tests/unit/__init__.py                              0      0      0      0   100%
tests/unit/conftest.py                             33      0      0      0   100%
tests/unit/schema/__init__.py                       0      0      0      0   100%
tests/unit/schema/test_pandas_to_bigquery.py       49      4      0      0    92%   139-152
tests/unit/schema/test_pyarrow_to_bigquery.py      13      0      0      0   100%
tests/unit/test_auth.py                            36      0      0      0   100%
tests/unit/test_context.py                         67      0      2      0   100%
tests/unit/test_features.py                        16      0      0      0   100%
tests/unit/test_gbq.py                            392      0     20      0   100%
tests/unit/test_load.py                           148      0      0      0   100%
tests/unit/test_query.py                           74      0      8      0   100%
tests/unit/test_schema.py                          34      0      4      0   100%
tests/unit/test_timestamp.py                       28      0      0      0   100%
tests/unit/test_to_gbq.py                          72      0      0      0   100%
-------------------------------------------------------------------------------------------
TOTAL                                            1805     39    324     23    97%
nox > coverage report --show-missing '--include=tests/unit/*' --fail-under=100
Name                                            Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------------------
tests/unit/__init__.py                              0      0      0      0   100%
tests/unit/conftest.py                             33      0      0      0   100%
tests/unit/schema/__init__.py                       0      0      0      0   100%
tests/unit/schema/test_pandas_to_bigquery.py       49      4      0      0    92%   139-152
tests/unit/schema/test_pyarrow_to_bigquery.py      13      0      0      0   100%
tests/unit/test_auth.py                            36      0      0      0   100%
tests/unit/test_context.py                         67      0      2      0   100%
tests/unit/test_features.py                        16      0      0      0   100%
tests/unit/test_gbq.py                            392      0     20      0   100%
tests/unit/test_load.py                           148      0      0      0   100%
tests/unit/test_query.py                           74      0      8      0   100%
tests/unit/test_schema.py                          34      0      4      0   100%
tests/unit/test_timestamp.py                       28      0      0      0   100%
tests/unit/test_to_gbq.py                          72      0      0      0   100%
-------------------------------------------------------------------------------------------
TOTAL                                             962      4     34      0    99%
Coverage failure: total of 99 is less than fail-under=100
nox > Command coverage report --show-missing '--include=tests/unit/*' --fail-under=100 failed with exit code 2

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions