File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,23 @@ jobs:
7474 env :
7575 COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
7676 CONTEXT : ${{ runner.os }}-py${{ matrix.python-version }}
77+ # TODO: if removing Smokeshow, and moving only to Codecov, remove this
78+ # Upload files before running Codecov, as it generates an extra file coverage/coverage.xml, and that breaks coverage-combine
7779 - name : Store coverage files
7880 uses : actions/upload-artifact@v4
7981 with :
8082 name : coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }}
8183 path : coverage
8284 include-hidden-files : true
85+ - uses : codecov/codecov-action@v5
86+ with :
87+ fail_ci_if_error : true
88+ files : ./coverage.xml
89+ name : codecov-umbrella
90+ token : ${{ secrets.CODECOV_TOKEN }}
91+ verbose : true
8392
93+ # TODO: if removing Smokeshow, and moving only to Codecov, remove this
8494 coverage-combine :
8595 needs :
8696 - test
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ coverage run -m pytest tests
77coverage combine
88coverage report
99coverage html
10+ coverage xml
You can’t perform that action at this time.
0 commit comments