Skip to content

Commit

Permalink
Update PHP versions in run-tests.yml and skip test
Browse files Browse the repository at this point in the history
on Windows and PHP versions greater than 8.2
  • Loading branch information
ewilan-riviere committed Dec 6, 2023
1 parent 9c70ddd commit bee1fee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion tests/PdfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bee1fee

Please sign in to comment.