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

[BUG] CI: Tests fail because coverage cannot be submitted #724

Open
3 tasks
niccokunzmann opened this issue Oct 12, 2024 · 0 comments
Open
3 tasks

[BUG] CI: Tests fail because coverage cannot be submitted #724

niccokunzmann opened this issue Oct 12, 2024 · 0 comments

Comments

@niccokunzmann
Copy link
Member

Describe the bug

It seems that the coverage is not generated and cannot be submitted.

To Reproduce

https://github.com/collective/icalendar/actions/runs/11148662159/job/30986481187

Run tox -e nopytz
nopytz: install_deps> python -I -m pip install coverage hypothesis pytest
.pkg: install_requires> python -I -m pip install hatch-vcs hatchling
.pkg: _optional_hooks> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True hatchling.build
.pkg: get_requires_for_build_sdist> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True hatchling.build
.pkg: get_requires_for_build_editable> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True hatchling.build
.pkg: install_requires_for_build_editable> python -I -m pip install 'editables~=0.3'
.pkg: freeze> python -m pip freeze --all
.pkg: editables==0.5,hatch-vcs==0.4.0,hatchling==1.25.0,packaging==24.1,pathspec==0.12.1,pip==24.2,pluggy==1.5.0,setuptools==75.1.0,setuptools-scm==8.1.0,tomli==2.0.2,trove-classifiers==2024.9.12,typing_extensions==4.12.2,wheel==0.44.0
.pkg: build_sdist> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True hatchling.build
nopytz: install_package_deps> python -I -m pip install 'backports.zoneinfo; python_version < "3.9"' python-dateutil tzdata
nopytz: install_package> python -I -m pip install --force-reinstall --no-deps /home/runner/work/icalendar/icalendar/.tox/.tmp/package/1/icalendar-0.1.dev1.tar.gz
nopytz: freeze> python -m pip freeze --all
nopytz: attrs==24.2.0,backports.zoneinfo==0.2.1,coverage==7.6.1,exceptiongroup==1.2.2,hypothesis==6.112.2,icalendar @ file:///home/runner/work/icalendar/icalendar/.tox/.tmp/package/1/icalendar-0.1.dev1.tar.gz#sha256=98cdaaa1b4792c44ffecbe7962e3275fe4c3454a0a6a18c2ee14f8480ae8f1dc,iniconfig==2.0.0,packaging==24.1,pip==24.2,pluggy==1.5.0,pytest==8.3.3,python-dateutil==2.9.0.post0,setuptools==75.1.0,six==1.16.0,sortedcontainers==2.4.0,tomli==2.0.2,tzdata==2024.2,wheel==0.44.0
nopytz: commands[0]> coverage run --branch --source=src/icalendar '--omit=*/tests/hypothesis/*' '--omit=*/tests/fuzzed/*' --module pytest
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-8.3.3, pluggy-1.5.0
cachedir: .tox/nopytz/.pytest_cache
rootdir: /home/runner/work/icalendar/icalendar
configfile: pyproject.toml
testpaths: src/icalendar/tests
plugins: hypothesis-6.112.2
collected 1667 items

src/icalendar/tests/fuzzed/test_fuzzed_calendars.py s                    [  0%]
src/icalendar/tests/prop/test_identity_and_equality.py ................. [  1%]
........................................................................ [  5%]
.........................                                                [  6%]
src/icalendar/tests/prop/test_property_values.py .                       [  6%]
src/icalendar/tests/prop/test_unit.py ................                   [  7%]
src/icalendar/tests/prop/test_vBinary.py ......                          [  8%]
src/icalendar/tests/prop/test_vBoolean.py ....                           [  8%]
src/icalendar/tests/prop/test_vCalAddress.py ....                        [  8%]
src/icalendar/tests/prop/test_vDDDTypes.py ......                        [  9%]
src/icalendar/tests/prop/test_vDatetime.py .......                       [  9%]
src/icalendar/tests/prop/test_vPeriod.py ..........                      [ 10%]
src/icalendar/tests/prop/test_windows_to_olson_mapping.py .............. [ 10%]
........................................................................ [ 15%]
.....................                                                    [ 16%]
src/icalendar/tests/test_bom_calendar.py .                               [ 16%]
src/icalendar/tests/test_rfc_7529.py                                                                23      5      6      0    76%
src/icalendar/tests/test_time.py                                                                    18      0      0      0   100%
src/icalendar/tests/test_timezoned.py                                                              136     27      8      0    78%
src/icalendar/tests/test_unit_cal.py                                                               184      2     10      0    99%
src/icalendar/tests/test_unit_caselessdict.py                                                       47      0      0      0   100%
src/icalendar/tests/test_unit_parser_tools.py                                                       17      0      0      0   100%
src/icalendar/tests/test_unit_tools.py                                                              23      0      0      0   100%
src/icalendar/tests/test_with_doctest.py                                                            42      3     12      3    89%
src/icalendar/timezone/__init__.py                                                                   7      2      0      0    71%
src/icalendar/timezone/provider.py                                                                  25      0      0      0   100%
src/icalendar/timezone/pytz.py                                                                      37     35      4      0     5%
src/icalendar/timezone/tzp.py                                                                       66      7     12      2    88%
src/icalendar/timezone/windows_to_olson.py                                                           1      0      0      0   100%
src/icalendar/timezone/zoneinfo.py                                                                  75      2     12      0    95%
src/icalendar/tools.py                                                                              19      0      2      0   100%
src/icalendar/version.py                                                                             6      3      0      0    50%
----------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                                             3267    235    602     34    91%
nopytz: commands[2]> coverage html
Wrote HTML report to htmlcov/index.html
nopytz: commands[3]> coverage xml
Wrote XML report to coverage.xml
.pkg: _exit> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True hatchling.build
  nopytz: OK (25.04=setup[9.59]+cmd[12.60,0.64,1.48,0.74] seconds)
  congratulations :) (25.61 seconds)
1s
Run coverallsapp/github-action@v2
Run mkdir -p ~/bin/
sha256sum: release/coveralls-linux.tar.gz: No such file or directory
release/coveralls-linux.tar.gz: FAILED open or read
sha256sum: WARNING: 1 listed file could not be read
Error: Process completed with exit code 1.

Expected behavior

I would like coverage files to be

  1. generated
  2. uploaded

Environment

  • OS: GitHUb CI Ubuntu
  • Python version: 3.8
  • icalendar version: main

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant