Skip to content

Commit

Permalink
fix(CI): Adjust code coverage upload for PHPUnit
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Apr 23, 2024
1 parent 3fb8020 commit bdb8b99
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/phpunit-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ jobs:
run: composer run test:unit

- name: Upload Unit coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
root_dir: ./apps/${{ env.APP_NAME }}
files: ./apps/${{ env.APP_NAME }}/tests/clover.unit.xml
working-directory: apps/${{ env.APP_NAME }}
file: tests/clover.unit.xml
fail_ci_if_error: true
flags: unit

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

- name: Upload Integration coverage
uses: codecov/codecov-action@v4
- name: Upload Unit coverage
uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
root_dir: ./apps/${{ env.APP_NAME }}
files: ./apps/${{ env.APP_NAME }}/tests/clover.integration.xml
working-directory: apps/${{ env.APP_NAME }}
file: tests/clover.unit.xml
fail_ci_if_error: true
flags: integration

Expand Down

0 comments on commit bdb8b99

Please sign in to comment.