Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/test-phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@ jobs:
if: matrix.php-versions == env.COVERAGE_PHP_VERSION
run: echo "TACHYCARDIA_MONITOR_GA=enabled" >> $GITHUB_ENV

- name: Cache PHPUnit's static analysis cache
uses: actions/cache@v3
with:
path: build/.phpunit.cache/code-coverage
key: phpunit-code-coverage-${{ hashFiles('**/phpunit.*') }}
restore-keys: |
phpunit-code-coverage-

- name: Compute coverage option
uses: actions/github-script@v6
id: phpunit-coverage-option
Expand Down Expand Up @@ -226,6 +234,14 @@ jobs:
- name: Install dependencies
run: composer update --ansi --no-interaction

- name: Cache PHPUnit's static analysis cache
uses: actions/cache@v3
with:
path: build/.phpunit.cache/code-coverage
key: phpunit-code-coverage-${{ hashFiles('**/phpunit.*') }}
restore-keys: |
phpunit-code-coverage-

- name: Merge coverage files
run: vendor/bin/phpcov merge --clover build/logs/clover.xml build/cov

Expand Down