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
25 changes: 13 additions & 12 deletions .github/workflows/run-tests-with-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
matrix:
php-version: [ "8.2", "8.3", "8.4" ]
steps:
- uses: shivammathur/setup-php@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug, pcov
tools: composer:v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
coverage: xdebug
tools: composer
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Execute unit tests via PHPUnit with coverage
Expand All @@ -36,14 +36,15 @@ jobs:
needs: tests-with-coverage
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
tools: composer:v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/download-artifact@v4
tools: composer
- name: Checkout
uses: actions/checkout@v4
- name: Import coverage report
uses: actions/download-artifact@v4
with:
name: clover.xml
path: build/logs
Expand Down