• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHP_CodeSniffer / 13711206930
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 07 Mar 2025 12:45AM UTC
Jobs 8
Files 262
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Mar 2025 12:43AM UTC coverage: 77.32%. Remained the same
13711206930

push

github

jrfnl
GH Actions/test: iterate on libxml installation steps

This commit updates the initial implementation for updating `libxml2` on the fly for select PHP versions.

Compared to the original implementation, the following changes were made:
* Use a `libxml_minor` flag in the matrix to indicate whether `libxml` should be updated for a particular job or not.
    This `libxml_minor` flag also allows for specifying a specific minor to use for the update.
    This flag is now set on the linux PHP 8.0 and PHP 8.3 builds.
    _Take note: PHP 8.4 is explicitly not used, as the tests are not run in this job for that version (they are run in the `coverage` job instead)._
    _In effect that meant that installing `libxml` on PHP 8.4 in the workflow, as per the original PR, wasn't safeguarding anything as without tests running, the tests couldn't fail._
* Based on the `libxml_minor` flag, update the job name to make it clear when a particular job uses a non-default `libxml` version.
* On the fly figure out what the latest relevant tag is for a certain `libxml` minor.
    This makes the workflow more flexible by:
    - Allowing for different minors.
    - Prevents having a specific patch version hard-coded in the workflow (maintenance issue).
* Splits the `sudo apt-get update` command off to its own step as it is prone to intermittent failures.
* Splits the "Install" step into two steps: one to download and compile, one to install the newly compiled `libxml` version.
    Doing this allows for caching the result of the compile step, diminishing the impact on the actions run time of compiling `libxml`.
* Adds an (unconditional) "debug" step to allow for verifying which `libxml` version is being used in each job.

19153 of 24771 relevant lines covered (77.32%)

76.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 13711206930.1 07 Mar 2025 12:47AM UTC 262
1.9
GitHub Action Run
2 os-ubuntu-latest-php-8.1-custom-ini-true - 13711206930.2 07 Mar 2025 12:47AM UTC 262
75.83
GitHub Action Run
3 os-ubuntu-latest-php-7.2-custom-ini-false - 13711206930.3 07 Mar 2025 12:49AM UTC 262
73.64
GitHub Action Run
4 os-ubuntu-latest-php-8.4-custom-ini-false - 13711206930.4 07 Mar 2025 12:47AM UTC 262
75.81
GitHub Action Run
5 os-windows-latest-php-8.4-custom-ini-false - 13711206930.5 07 Mar 2025 12:45AM UTC 262
2.55
GitHub Action Run
6 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 13711206930.6 07 Mar 2025 12:49AM UTC 262
0.82
GitHub Action Run
7 os-windows-latest-php-7.2-custom-ini-false - 13711206930.7 07 Mar 2025 12:45AM UTC 262
2.02
GitHub Action Run
8 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 13711206930.8 07 Mar 2025 12:47AM UTC 262
1.89
GitHub Action Run
Source Files on build 13711206930
  • Tree
  • List 262
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13711206930
  • e2040edd on github
  • Prev Build on 4.0 (#13710791065)
  • Next Build on 4.0 (#13713114137)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc