Skip to content

Commit 5aa697d

Browse files
committed
Revert "Merge pull request #199 from pllim/codecov-upload-new-job"
This reverts commit 95906bb, reversing changes made to 2042027.
1 parent 7d299a4 commit 5aa697d

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/tox.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -223,38 +223,9 @@ jobs:
223223
with:
224224
paths: "**/results.xml"
225225

226-
- name: Upload coverage to artifacts
226+
- name: Upload to Codecov
227227
# Even if tox fails, upload coverage
228228
if: ${{ (success() || failure()) && contains(matrix.coverage, 'codecov') && matrix.pytest == 'true' }}
229-
uses: actions/upload-artifact@v4
230-
with:
231-
name: coverage_${{ matrix.toxenv }}
232-
path: coverage.xml
233-
if-no-files-found: error
234-
235-
upload-codecov:
236-
needs: [tox]
237-
permissions:
238-
contents: none
239-
runs-on: ubuntu-latest
240-
name: Upload Coverage
241-
steps:
242-
243-
- name: Download coverage artifacts
244-
uses: actions/download-artifact@v4
245-
with:
246-
path: coverage
247-
pattern: coverage_*
248-
merge-multiple: false
249-
250-
- name: Display structure of downloaded files
251-
run: ls -R
252-
253-
- name: Upload report to Codecov
254-
if: ${{ hashFiles('coverage/') != '' }}
255229
uses: codecov/codecov-action@v4
256230
with:
257231
token: ${{ secrets.CODECOV_TOKEN }}
258-
directory: coverage
259-
fail_ci_if_error: true
260-
verbose: true

0 commit comments

Comments
 (0)