Skip to content

Commit

Permalink
Try with adding coverage driver
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaval-parekh committed Mar 17, 2022
1 parent 073ec33 commit 86da856
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-test-measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ jobs:
- name: Run tests with coverage
if: ${{ matrix.coverage == true && needs.pre-run.outputs.changed-php-count > 0 }}
run: vendor/bin/phpunit --verbose --coverage-clover ${{ env.WP_CORE_DIR }}/src/wp-content/plugins/amp/build/logs/clover.xml
working-directory: ${{ env.WP_CORE_DIR }}/src/wp-content/plugins/amp
coverage: ${{ matrix.coverage && 'pcov' || 'none' }}
ini-values: pcov.directory=.
env:
WP_TESTS_DIR: /tmp/wordpress-tests-lib

Expand Down

0 comments on commit 86da856

Please sign in to comment.