Skip to content

Commit e1500ef

Browse files
committed
Fix absolute paths in the coverage report in CI
1 parent e303a16 commit e1500ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/phpunit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
mkdir -p build/logs
5252
composer test-for-ci
5353
54+
- name: Fix absolute paths in the coverage report
55+
run: sed -i "s|<file name=\"/app/|<file name=\"`pwd`/|g" build/logs/clover.xml
56+
5457
- name: Send to coveralls
5558
env:
5659
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)