Skip to content

Commit

Permalink
test of coverall task
Browse files Browse the repository at this point in the history
  • Loading branch information
tito10047 committed Sep 10, 2024
1 parent 3b66d95 commit 1af5ad9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
php-version: ${{ matrix.php-versions }}
tools: phpunit-bridge
extensions: mbstring, xml, ctype, iconv, intl
coverage: xdebug
coverage: pcov

- name: Get composer cache directory
id: composer-cache
Expand All @@ -42,4 +42,10 @@ jobs:
# Docs: https://getcomposer.org/doc/articles/scripts.md

- name: Run test suite
run: vendor/bin/phpunit
run: vendor/bin/phpunit --coverage-clover build/reports/clover.xml

- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
php-coveralls --coverage_clover=build/reports/clover.xml --json_path=build/reports/coveralls-upload.json -v

0 comments on commit 1af5ad9

Please sign in to comment.