From bee1fee9f05d877de3905660bbc5f22c2d78b6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ewilan=20Rivi=C3=A8re?= Date: Wed, 6 Dec 2023 09:30:40 +0100 Subject: [PATCH] Update PHP versions in run-tests.yml and skip test on Windows and PHP versions greater than 8.2 --- .github/workflows/run-tests.yml | 2 +- tests/PdfTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1ce8b40..140f79b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, 8.2] + php: [8.1, 8.2, 8.3] stability: [prefer-stable] name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/tests/PdfTest.php b/tests/PdfTest.php index 5df9897..0244ebf 100644 --- a/tests/PdfTest.php +++ b/tests/PdfTest.php @@ -31,7 +31,7 @@ expect(file_exists($path))->toBeTrue(); expect($path)->toBeReadableFile(); expect(fileIsValidImg($path))->toBeTrue(); -})->skip(PHP_OS_FAMILY === 'Windows', 'Skip on Windows'); +})->skip(PHP_OS_FAMILY === 'Windows' || PHP_VERSION > '8.2', 'Skip on Windows'); it('can parse empty pdf', function () { $ebook = Ebook::read(PDF_EMPTY);