Skip to content

Commit

Permalink
.github/workflows/build.yml: Fix configuration of coverage upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Nov 1, 2023
1 parent eb8417b commit f800cf8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,12 @@ jobs:
run: |
./venv/bin/python3 -m coverage combine src/.coverage/
./venv/bin/python3 -m coverage xml
find . -name *coverage*
mkdir -p coverage-report
mv coverage.xml coverage-report/
working-directory: ./worktree-image

- name: Upload coverage to codecov
if: always() && steps.build.outcome == 'success'
uses: codecov/codecov-action@v3
with:
files: ./worktree-image/coverage.xml
directory: ./worktree-image/coverage-report

0 comments on commit f800cf8

Please sign in to comment.