From 86da856ab8ac69a8f38bec7ac291c59734970251 Mon Sep 17 00:00:00 2001 From: Dhaval Parekh Date: Thu, 17 Mar 2022 18:35:17 +0530 Subject: [PATCH] Try with adding coverage driver --- .github/workflows/build-test-measure.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-measure.yml b/.github/workflows/build-test-measure.yml index 6b3a0e6c997..2ac238a6bb9 100644 --- a/.github/workflows/build-test-measure.yml +++ b/.github/workflows/build-test-measure.yml @@ -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