Skip to content

Commit

Permalink
Maybe it does recursive search
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed May 17, 2024
1 parent 40978a4 commit 7aac2c2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ jobs:
if: ${{ (success() || failure()) && contains(matrix.coverage, 'codecov') && matrix.pytest == 'true' }}
uses: actions/upload-artifact@v4
with:
name: coverage_${{ matrix.toxenv }}.xml
name: coverage_${{ matrix.toxenv }}
path: coverage.xml
if-no-files-found: error

Expand All @@ -244,18 +244,17 @@ jobs:
uses: actions/download-artifact@v4
with:
path: coverage
pattern: coverage_*
merge-multiple: true
pattern: coverage.xml
merge-multiple: false

- name: Display structure of downloaded files
run: ls -R

- name: Upload report to Codecov
if: ${{ hashFiles('coverage/') != '' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage
file: coverage_*
handle_no_reports_found: true
fail_ci_if_error: true
verbose: true

0 comments on commit 7aac2c2

Please sign in to comment.