Skip to content

Conversation

dalpasso
Copy link
Collaborator

@dalpasso dalpasso commented Oct 2, 2025

Adding {posargs} to pytest invocation let's launching selected tests with tox, e.g.:

tox -e 313 -- tests/test_download.py::test_download_item_from_collection_stream

@dalpasso dalpasso requested a review from sbrunato October 2, 2025 13:54
@dalpasso dalpasso self-assigned this Oct 2, 2025
@github-actions
Copy link

github-actions bot commented Oct 2, 2025

Test Results

  2 files  ±0    2 suites  ±0   18s ⏱️ ±0s
 87 tests ±0   86 ✅ ±0  0 💤 ±0  1 ❌ ±0 
174 runs  ±0  172 ✅ ±0  0 💤 ±0  2 ❌ ±0 

For more details on these failures, see this check.

Results for commit bd36a2c. ± Comparison against base commit 8389893.

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

badge

Code Coverage

Filename                                 Stmts    Miss  Cover    Missing
-------------------------------------  -------  ------  -------  -----------------------------------------------------------------------------------------------------------------
eodag/__init__.py                            0       0  100.00%
eodag/api.py                                 8       8  0.00%    20-37
eodag/app.py                                75      15  80.00%   149, 163-170, 181-183, 232-244, 248
eodag/client.py                             25       0  100.00%
eodag/config.py                             18       0  100.00%
eodag/constants.py                           6       0  100.00%
eodag/core.py                              276      53  80.80%   131-132, 142, 272-273, 353, 473-478, 488-489, 510, 525-543, 606-607, 631, 647-651, 665-669, 671-675, 680, 692-724
eodag/cql_evaluate.py                       48      27  43.75%   43, 48, 53, 58, 74-99, 104-106, 111
eodag/dag.py                                53       0  100.00%
eodag/errors.py                             94      12  87.23%   143, 160-163, 179, 202-212
eodag/logs.py                               62       9  85.48%   40-49, 105
eodag/middlewares.py                        32       2  93.75%   20, 24
eodag/telemetry.py                          44       0  100.00%
eodag/utils.py                              41      13  68.29%   44, 68-73, 86, 90-98, 134
eodag/eodag_types/__init__.py                0       0  100.00%
eodag/eodag_types/queryables.py             42      12  71.43%   45-51, 61, 77-81
eodag/eodag_types/search.py                 25      25  0.00%    20-69
eodag/extensions/collection_order.py        65       3  95.38%   83-84, 95
eodag/extensions/data_download.py          111      38  65.77%   60-72, 93, 111-112, 119, 134-141, 146-147, 154-182
eodag/extensions/ecmwf.py                   69       0  100.00%
eodag/extensions/filter.py                  55       2  96.36%   196-197
eodag/extensions/offset_pagination.py       12       0  100.00%
eodag/extensions/pagination.py              15       0  100.00%
eodag/extensions/stac.py                   132       0  100.00%
eodag/models/__init__.py                     0       0  100.00%
eodag/models/links.py                      133      13  90.23%   36, 90-92, 185, 203, 235, 282, 331-342
eodag/models/stac_metadata.py              186       8  95.70%   98, 181, 183, 196-203, 261
TOTAL                                     1627     240  85.25%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: bd36a2c

Minimum allowed coverage is 70%

♻️ This comment has been updated with latest results

Copy link
Collaborator

Choose a reason for hiding this comment

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

tests are failing

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This failure is not caused by this PR cause tests/test_download.py::test_download_item_from_collection_stream fails on the branch main. See for example this run. An issue has already been opened: #57

@sbrunato sbrunato marked this pull request as draft October 7, 2025 09:16
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