From d9c785ea3d7dd21f2a977cb453f52b895d76aa93 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Fri, 13 Dec 2024 10:55:17 -0800 Subject: [PATCH] Test on more PHP versions (#50) * Test on more PHP versions * Use newer version of roave/backward-compatibility-check --- .github/workflows/ci.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3290fa1..049549c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: 8.2 coverage: none extensions: intl @@ -63,7 +63,7 @@ jobs: - name: Install roave/backward-compatibility-check run: | mkdir -p tools - composer --working-dir=tools require roave/backward-compatibility-check:^5 + composer --working-dir=tools require roave/backward-compatibility-check:^7 - name: Run roave/backward-compatibility-check run: ./tools/vendor/bin/roave-backward-compatibility-check --from=2.0.1 @@ -116,6 +116,24 @@ jobs: codecov: true php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205 + - os: ubuntu-latest + php-version: "8.2" + dependencies: highest + codecov: true + php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205 + + - os: ubuntu-latest + php-version: "8.3" + dependencies: highest + codecov: true + php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205 + + - os: ubuntu-latest + php-version: "8.4" + dependencies: highest + codecov: true + php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205 + steps: - name: Checkout uses: actions/checkout@v2