From c16d5b231642bf3d22fe7ada50889d733ba3cbe7 Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Tue, 1 Apr 2025 19:58:58 +0200 Subject: [PATCH 1/3] ci: prepare PHP 8.5 in CI --- .github/workflows/continuous-integration.yml | 22 +++++--------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 371e033e..0c740e2a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -13,12 +13,13 @@ env: jobs: tests: - name: "CI" + name: "PHP ${{ matrix.php-version }}, ${{ matrix.dependencies }} dependecies, experimental: ${{ matrix.experimental || false}}" runs-on: ubuntu-latest - continue-on-error: ${{ matrix.experimental }} + continue-on-error: ${{ matrix.experimental || false }} strategy: + fail-fast: false matrix: php-version: - "7.2" @@ -30,22 +31,11 @@ jobs: - "8.3" - "8.4" dependencies: [highest] - experimental: [false] include: - - php-version: "7.2" - dependencies: highest - experimental: false - php-version: "7.2" dependencies: lowest - experimental: false -# - php-version: "8.0" +# - php-version: "8.5" # dependencies: highest -# experimental: false -# - php-version: "8.1" -# dependencies: lowest-ignore -# experimental: true -# - php-version: "8.1" -# dependencies: highest-ignore # experimental: true steps: @@ -76,6 +66,4 @@ jobs: run: "composer validate" - name: "Run tests" - run: "composer test" - - + run: "composer test" \ No newline at end of file From 8bc4c3e5db74c85592b85b0f0c07db4e1c742e2b Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Tue, 1 Apr 2025 20:24:55 +0200 Subject: [PATCH 2/3] ci: include problem matcher for phpunit --- .github/workflows/continuous-integration.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 0c740e2a..3b763a78 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -65,5 +65,8 @@ jobs: - name: "Validate composer.json" run: "composer validate" + - name: Setup problem matchers for PHPUnit + run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: "Run tests" run: "composer test" \ No newline at end of file From 03c163d813d355c4107f3147b4b07d52bfb82ccc Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Tue, 1 Apr 2025 20:28:41 +0200 Subject: [PATCH 3/3] docs: add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dbd7d7a..a89ad397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Correct PHPStan findings in validator ([#808](https://github.com/jsonrainbow/json-schema/pull/808)) - Add cs2pr handling for php-cs-fixer; avoid doing composer install ([#814](https://github.com/jsonrainbow/json-schema/pull/814)) +- prepare PHP 8.5 in CI ([#815](https://github.com/jsonrainbow/json-schema/pull/815)) ## [6.3.1] - 2025-03-18 ### Fixed