Skip to content

Commit

Permalink
action-php-8.3: added text test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mysiar committed Dec 28, 2023
1 parent 5d098e8 commit 865203f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ jobs:
- name: Coding standard (PHP ${{ matrix.php }})
run: php${{ matrix.php }} ./vendor/bin/ecs check src tests

- name: Code coverage
- name: Code coverage - clover
run: php${{ matrix.php }} -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-clover=var/coverage.xml

- name: Code coverage - text
run: php${{ matrix.php }} -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text

- name: Fix code coverage paths
run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' var/coverage.xml

0 comments on commit 865203f

Please sign in to comment.