Skip to content

Commit a3939ee

Browse files
jakejackson1claude
andauthored
Leave PHP 5.6 on Windows out of the pull request test jobs (#675)
It is the slowest test job by minutes. PHP 5.6 still runs on Ubuntu for every pull request, and 5.6 on Windows still runs on pushes to gravitypdf, nightly, by hand and with the full-ci label. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2 parents bce6e78 + a5c2a7e commit a3939ee

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232

3333
strategy:
3434
fail-fast: false
35-
# A pull request without the full-ci label runs 5.6 and 8.5 on both systems, and 7.4 and 8.0 on Ubuntu
35+
# A pull request without the full-ci label runs 8.5 on both systems, and 5.6, 7.4 and 8.0 on Ubuntu. 5.6 on Windows is
36+
# the slowest job by minutes, so it waits for the push to gravitypdf
3637
matrix: >-
3738
${{ fromJSON(
3839
(github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'full-ci'))
@@ -44,6 +45,7 @@ jobs:
4445
"php-version": ["5.6", "7.4", "8.0", "8.5"],
4546
"operating-system": ["ubuntu-latest", "windows-latest"],
4647
"exclude": [
48+
{"php-version": "5.6", "operating-system": "windows-latest"},
4749
{"php-version": "7.4", "operating-system": "windows-latest"},
4850
{"php-version": "8.0", "operating-system": "windows-latest"}
4951
]

‎CHANGELOG-GRAVITYPDF.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,11 @@ These changes do not change output.
421421
* **Glyph outline numbers.** A glyph outline's coordinates are written through `NumericString::decimal()`, as the colour glyphs and SVG paths write theirs. [#625]
422422
* **Snapshot tests.** Snapshot tests compare bytes first, then PDF objects, then pixels. Snapshot documents carry nothing of the machine that made them. [#72]
423423
* **Data scripts.** Composer scripts regenerate the Unicode, emoji, joining, language system, font cache, subset, shaping and grey profile data, and update snapshots.
424-
* **CI.** [#5] [#310] [#317] [#376] [#377] [#615] [#674]
424+
* **CI.** [#5] [#310] [#317] [#376] [#377] [#615] [#674] [#675]
425425
* CI runs on the `gravitypdf` branch, caches Composer downloads and uses current action versions.
426426
* It checks PDF/A and PDF/X-4 output with veraPDF, and tests e-invoices against the XML packages `composer.json` suggests.
427427
* The test suite runs under a 512M memory limit.
428-
* Pull requests run 6 of the 24 PHP and OS test jobs unless labelled `full-ci`. Pushes to `gravitypdf`, a nightly run and a manual run get all 24. A newer push to a pull request cancels the run it replaces.
428+
* Pull requests run 5 of the 24 PHP and OS test jobs unless labelled `full-ci`, leaving out PHP 5.6 on Windows, the slowest. Pushes to `gravitypdf`, a nightly run and a manual run get all 24. A newer push to a pull request cancels the run it replaces.
429429
* Every workflow, code coverage included, also runs nightly on `gravitypdf` and can be run by hand.
430430
* The Windows test jobs no longer spend minutes on HTTP requests to localhost. A test left `$_SERVER['HTTP_HOST']` set, so every later test fetched each missing stylesheet or image from `http://localhost`, and on Windows each refused connection takes about two seconds. [#674]
431431
* The coding standard and PHPStan run as one Lint workflow. The e-invoice and PDF/X-4 checks run on a pull request only when it changes the code they cover.
@@ -911,3 +911,4 @@ These changes do not change output.
911911
[#651]: https://github.com/GravityPDF/mpdf/pull/651
912912
[#652]: https://github.com/GravityPDF/mpdf/pull/652
913913
[#674]: https://github.com/GravityPDF/mpdf/pull/674
914+
[#675]: https://github.com/GravityPDF/mpdf/pull/675

0 commit comments

Comments
 (0)