ionelmc / pytest-benchmark

py.test fixture for benchmarking code
BSD 2-Clause "Simplified" License
1.22k stars 115 forks source link

Upgrade GitHub Actions checkout@v4 in the template #252

Closed cclauss closed 6 months ago

cclauss commented 8 months ago

Related to #250

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (728752d) 62.00% compared to head (8733a09) 62.00%.

:exclamation: Current head 8733a09 differs from pull request most recent head ebeae2f. Consider uploading reports for the commit ebeae2f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #252 +/- ## ======================================= Coverage 62.00% 62.00% ======================================= Files 29 29 Lines 2858 2858 Branches 386 386 ======================================= Hits 1772 1772 Misses 998 998 Partials 88 88 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

cclauss commented 7 months ago

Upgraded pygal because the errors were:

 =================================== FAILURES ===================================
____________________________ test_rendering[short] _____________________________
tests/test_storage.py:173: in test_rendering
    rewrite=lambda text, **opts: output.write(force_text(text)),
src/pytest_benchmark/session.py:231: in display
    results_table.display(tr, self.groups, progress_reporter=progress_reporter)
src/pytest_benchmark/table.py:135: in display
    from .histogram import make_histogram
src/pytest_benchmark/histogram.py:9: in <module>
    from pygal.graph.box import Box
.tox/py37-pytest71-nodist-cover/lib/python3.7/site-packages/pygal/__init__.py:32: in <module>
    import pkg_resources
.tox/py37-pytest71-nodist-cover/lib/python3.7/site-packages/pkg_resources/__init__.py:122: in <module>
    stacklevel=2
E   DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html