codecov / codecov-cli

Codecov's Command Line Interface. Used for uploading to Codecov in your CI, Test Labelling, Local Upload, and more
Apache License 2.0
56 stars 39 forks source link

Upload-process uses upload-coverage endpoint #551

Closed tony-codecov closed 22 hours ago

tony-codecov commented 2 weeks ago

This PR adds a upload-coverage command to use a new combined upload approach that consolidates the create commit, create report, and upload steps into a single network call when possible. This optimization reduces network overhead by combining what were previously three separate API calls into one.

upload-process still behaves the same as previously.

Depends on https://github.com/codecov/codecov-api/pull/962

Closes https://github.com/codecov/engineering-team/issues/2538

github-actions[bot] commented 2 weeks ago

:white_check_mark: All tests successful. No failed tests were found.

:mega: Thoughts on this report? Let Codecov know! | Powered by Codecov

codecov[bot] commented 2 weeks ago

:x: 5 Tests Failed:

Tests completed Failed Passed Skipped
3550 5 3545 0
View the top 3 failed tests by shortest run time > > ```python > api.temp.calculator.test_calculator::test_divide > ``` > >
Stack Traces | 0.001s run time > > > > > ```python > > def > > test_divide(): > > > assert Calculator.divide(1, 2) == 0.5 > > E assert 1.0 == 0.5 > > E + where 1.0 = (1, 2) > > E + where = Calculator.divide > > .../temp/calculator/test_calculator.py:30: AssertionError > > ``` > >
api.temp.calculator.test_calculator::test_divide
Stack Traces | 0.001s run time > > ```python > def > test_divide(): > > assert Calculator.divide(1, 2) == 0.5 > E assert 1.0 == 0.5 > E + where 1.0 = (1, 2) > E + where = Calculator.divide > .../temp/calculator/test_calculator.py:30: AssertionError > ```
api.temp.calculator.test_calculator::test_divide
Stack Traces | 0.001s run time > > ```python > def > test_divide(): > > assert Calculator.divide(1, 2) == 0.5 > E assert 1.0 == 0.5 > E + where 1.0 = (1, 2) > E + where = Calculator.divide > .../temp/calculator/test_calculator.py:30: AssertionError > ```

To view more test analytics, go to the Test Analytics Dashboard Got feedback? Let us know on Github