From 5b2baf134d3500f2d6db50a054bd9754bafa6f84 Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Sat, 17 Jan 2026 14:46:23 +0100 Subject: [PATCH 1/2] chore(ci): add PHP 8.5 to build matrix --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 3d70184..9661e99 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - php: ['8.1', '8.2', '8.3', '8.4'] + php: ['8.2', '8.3', '8.4', '8.5'] phpunit: ['8.0', '9.0', '10.0', '11.0', '12.0'] exclude: - php: '8.1' From 3dcd0035af4450a891c3863224a5b62d61b61e21 Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Sat, 17 Jan 2026 14:58:16 +0100 Subject: [PATCH 2/2] chore(ci): fix coverage reporting --- .github/workflows/php_coverage.yml | 14 ++++++++------ phpunit.xml | 23 ++++++++++++----------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/php_coverage.yml b/.github/workflows/php_coverage.yml index 3e89f2b..59c95f9 100644 --- a/.github/workflows/php_coverage.yml +++ b/.github/workflows/php_coverage.yml @@ -3,6 +3,7 @@ name: Code coverage on: push: branches: + pull_request: jobs: coverage: @@ -21,10 +22,11 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest - - name: Test & publish code coverage - uses: paambaati/codeclimate-action@v3.0.0 - env: - CC_TEST_REPORTER_ID: ${{ secrets.codeClimateReporterID }} + - name: Run unit tests + run: ./vendor/bin/phpunit + + - name: Upload coverage report + uses: qltysh/qlty-action/coverage@v2 with: - coverageCommand: ./vendor/bin/phpunit --coverage-clover=clover.xml - debug: true + token: ${{ secrets.QLTY_COVERAGE_TOKEN }} + files: build/clover.xml \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml index a071790..7dc013b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,7 +1,7 @@ - - tests/Functional - + + tests/Functional + - + - - - + + + + - - src - + + src +