-
-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Labels
Description
In https://github.com/python/bedevere/runs/6651826354?check_suite_focus=true the test fail because codecov doesn't reach 100%:
See full pytest output
Run pytest --cov --cov-report=xml
pytest --cov --cov-report=xml
shell: /usr/bin/bash -e {0}
env:
FORCE_COLOR: 1
pythonLocation: /opt/hostedtoolcache/Python/3.11.0-beta.1/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.0-beta.1/x64/lib
============================= test session starts ==============================
platform linux -- Python 3.11.0b1, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/runner/work/bedevere/bedevere, configfile: pytest.ini, testpaths: tests
plugins: cov-3.0.0, asyncio-0.18.3, aiohttp-1.0.4
asyncio: mode=Mode.AUTO
collected 172 items
tests/test___main__.py ... [ 1%]
tests/test_backport.py .......................... [ 16%]
tests/test_close_pr.py ....... [ 20%]
tests/test_filepaths.py ............ [ 27%]
tests/test_gh_issue.py .................................... [ 48%]
tests/test_news.py ................................................. [ 77%]
tests/test_prtype.py ......... [ 82%]
tests/test_stage.py .................... [ 94%]
tests/test_util.py .......... [100%]
----------- coverage: platform linux, python 3.11.0-beta-1 -----------
Coverage XML written to file coverage.xml
FAIL Required test coverage of 100.0% not reached. Total coverage: 99.02%
============================= 172 passed in 6.27s ==============================
Error: Process completed with exit code 1.
This however only seems to affect 3.11.0-apha, and not the other Python versions. This should be fixed however -- apparently because of #462 -- the uploaded report doesn't include the failure:
See full codecov output
Run codecov/codecov-action@v2
with:
file: ./coverage.xml
env:
FORCE_COLOR: 1
pythonLocation: /opt/hostedtoolcache/Python/3.11.0-beta.1/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.0-beta.1/x64/lib
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (648b599397548e4bb92429eec6391374c2cbb0edb835e3b3f03d4281c011f401 codecov)
==> Running version latest
==> Running version v0.2.3
/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n -Q github-action-2.1.0 -f ./coverage.xml -C 571de6f456fc8379015f221d8b2d796f1bc88818
[2022-05-30T09:11:54.662Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.2.3
[2022-05-30T09:11:54.669Z] ['info'] => Project root located at: /home/runner/work/bedevere/bedevere
[2022-05-30T09:11:54.672Z] ['info'] -> No token specified or token is empty
[2022-05-30T09:11:54.781Z] ['info'] Searching for coverage files...
[2022-05-30T09:11:54.839Z] ['info'] => Found 1 possible coverage files:
./coverage.xml
[2022-05-30T09:11:54.839Z] ['info'] Processing ./coverage.xml...
[2022-05-30T09:11:54.845Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-05-30T09:11:54.847Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.2.3&token=*******&branch=dependabot%2Fpip%2Fcachetools-5.2.0&build=2407989696&build_url=https%3A%2F%2Fgithub.com%2Fpython%2Fbedevere%2Factions%2Fruns%2F2407989696&commit=571de6f456fc8379015f221d8b2d796f1bc88818&job=Tests&pr=460&service=github-actions&slug=python%2Fbedevere&name=&tag=&flags=&parent=
[2022-05-30T09:11:55.423Z] ['info'] https://codecov.io/github/python/bedevere/commit/571de6f456fc8379015f221d8b2d796f1bc88818
https://storage.googleapis.com/codecov/v4/raw/2022-05-30/D77050ECB3DC286B3CD9265D83DDA42F/571de6f456fc8379015f221d8b2d796f1bc88818/e482bb87-1a14-49a8-998d-c64096a45b86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220530T091155Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba144246e7b0cc69b67e35caad1afce4ce9fbdc60902a813d9854590416d23e9
[2022-05-30T09:11:55.423Z] ['info'] Uploading...
[2022-05-30T09:11:55.624Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/python/bedevere/commit/571de6f456fc8379015f221d8b2d796f1bc88818"}