Revert " 👷 Add Codecov to CI, Smokeshow/Cloudflare has been flaky lately (#1303)" This reverts commit 759220d5928af4a01c205a039eb9826456a475cd.
This commit is contained in:
parent
b8ded9b9ca
commit
a1fdc57271
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -74,23 +74,13 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
|
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
|
||||||
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
|
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
|
||||||
# TODO: if removing Smokeshow, and moving only to Codecov, remove this
|
|
||||||
# Upload files before running Codecov, as it generates an extra file coverage/coverage.xml, and that breaks coverage-combine
|
|
||||||
- name: Store coverage files
|
- name: Store coverage files
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }}
|
name: coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }}
|
||||||
path: coverage
|
path: coverage
|
||||||
include-hidden-files: true
|
include-hidden-files: true
|
||||||
- uses: codecov/codecov-action@v5
|
|
||||||
with:
|
|
||||||
fail_ci_if_error: true
|
|
||||||
files: ./coverage.xml
|
|
||||||
name: codecov-umbrella
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
verbose: true
|
|
||||||
|
|
||||||
# TODO: if removing Smokeshow, and moving only to Codecov, remove this
|
|
||||||
coverage-combine:
|
coverage-combine:
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
|
@ -7,4 +7,3 @@ coverage run -m pytest tests
|
|||||||
coverage combine
|
coverage combine
|
||||||
coverage report
|
coverage report
|
||||||
coverage html
|
coverage html
|
||||||
coverage xml
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user