Skip to content

Commit

Permalink
ci: Fix codecov syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Nov 20, 2024
1 parent 7104f2f commit 068da46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
disable_search: true
files: ./coverage/lcov.info

summary:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/phpunit-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
working-directory: apps/${{ env.APP_NAME }}
file: tests/clover.unit.xml
disable_search: true
files: tests/clover.unit.xml
fail_ci_if_error: true
flags: unit

Expand All @@ -175,13 +176,14 @@ jobs:
working-directory: apps/${{ env.APP_NAME }}
run: composer run test:integration

- name: Upload Unit coverage
- name: Upload Integration coverage
uses: codecov/codecov-action@5c47607acb93fed5485fdbf7232e8a31425f672a # v5.0.2
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
working-directory: apps/${{ env.APP_NAME }}
file: tests/clover.unit.xml
disable_search: true
files: tests/clover.integration.xml
fail_ci_if_error: true
flags: integration

Expand Down

0 comments on commit 068da46

Please sign in to comment.