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

Yoast / PHPUnit-Polyfills
96%
3.x: 98%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Repo Added 17 Nov 2022 01:11PM UTC
Files 33
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

LAST BUILD ON BRANCH feature/ghactions-add-phar-testing-job
branch: feature/ghactions-add-phar-testing-job
CHANGE BRANCH
x
Reset
  • feature/ghactions-add-phar-testing-job
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 1.1.3
  • 1.1.4
  • 1.1.5
  • 1.x
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • 2.0.3
  • 2.0.4
  • 2.0.5
  • 2.0/phpunit-10/update-environment-and-ci
  • 2.0/update-readme-changelog
  • 2.x
  • 3.0.0
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • 3.x
  • 4.0.0
  • 4.0/feature/drop-support-for-php-lt-7.1
  • 4.x
  • JRF/1.x/add-phpstan
  • JRF/2.x/add-phpstan
  • JRF/CS/update-phpcs-ruleset-yoastcs-3.0.0
  • JRF/composer-add-security-link
  • JRF/composer-dont-write-lock-file
  • JRF/composer-tweaks
  • JRF/dependabot-update-config
  • JRF/docs-various-improvements
  • JRF/docs-various-tweaks
  • JRF/feature/remove-dependabot-reviewers
  • JRF/ghactions-add-merge-conflict-check
  • JRF/ghactions-php-8.3-update
  • JRF/ghactions-remove-phpunit-10-trial
  • JRF/ghactions-switch-to-coveralls-reporter
  • JRF/ghactions/dont-fail-on-8.4
  • JRF/gitattributes-minor-tweaks
  • JRF/release-checklist-update
  • JRF/removed-unused-use-statement
  • JRF/update-yoastcs-3.2.0
  • JRF/various-minor-ci-tweaks
  • TEMP/123p0712p37
  • TEMP/2123-testing
  • TEMP/21328039
  • TEMP/2183621p
  • TEMP/test-123
  • TESTING/2.x
  • WIP/3.x
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-16
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-17
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-18
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-19
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-20
  • dependabot/github_actions/1.x/actions/checkout-5
  • dependabot/github_actions/1.x/actions/setup-node-4
  • dependabot/github_actions/1.x/actions/setup-node-5
  • dependabot/github_actions/1.x/ramsey/composer-install-3
  • dependabot/github_actions/1.x/xt0rted/markdownlint-problem-matcher-3
  • dependabot/github_actions/actions/checkout-4
  • documentation/custom-approach-expectdeprecations
  • feature/1.x-ghactions-use-nightly-for-php-next
  • feature/1.x-minor-updates-for-start-of-3.x-branch
  • feature/1.x-php-8.4-restrict-test
  • feature/1.x-readme-update-for-polyfills-3.x
  • feature/1.x/changelog-v1.1.4
  • feature/1.x/changelog-v1.1.5
  • feature/2.x-changelog-2.0.2
  • feature/2.x-readme-update-links-to-docs
  • feature/2.x/add-attributes-for-annotations
  • feature/2.x/changelog-v2.0.4
  • feature/2.x/changelog-v2.0.5
  • feature/2.x/ghactions-stop-testing-against-phpunit-dev
  • feature/2.x/readme-updates
  • feature/2.x/tests-minor-fix
  • feature/214-support-phpunit-11.5.0
  • feature/3.x/allow-for-phpunit-11
  • feature/3.x/assertislist-sync-error-message-with-upstream
  • feature/3.x/changelog-v3.1.2
  • feature/3.x/drop-support-for-assertattributehelper
  • feature/3.x/drop-support-for-php-7.0
  • feature/3.x/drop-support-for-phpunit-lt-64
  • feature/3.x/ghactions-stop-testing-against-phpunit-dev
  • feature/3.x/new-assertarraywithlistkeys-polyfill-trait
  • feature/3.x/new-assertobjectnotequals-polyfill-trait
  • feature/3.x/new-expectuserdeprecation-polyfill-trait
  • feature/3.x/sync-with-phpunit-11
  • feature/4.x/changelog-v4.0.0
  • feature/README-fix-broken-links
  • feature/add-pr-template
  • feature/assertContainsNotOnlyInstancesOf-fix-param-name
  • feature/assertistype-extra-test-closed-resource
  • feature/assertistypetest-remove-redundant-comment
  • feature/assertobjectequalstests-fix-php-8.4-deprecation
  • feature/autoload-add-minor-extra-defensive-coding
  • feature/changelog-1.1.0
  • feature/changelog-1.1.1-release
  • feature/changelog-1.1.3
  • feature/changelog-2.0.1-release
  • feature/changelog-2.0.3
  • feature/changelog-3.1.0
  • feature/changelog-3.1.1
  • feature/composer-ci-allow-for-phpunit-12
  • feature/composer-lint-scripts-cleanup
  • feature/composer-update-dependencies
  • feature/consistently-use-since-tags
  • feature/cs-minor-fixes
  • feature/cs-minor-ruleset-cleanup
  • feature/dependabot-remove-composer
  • feature/drop-support-for-phpunit-lt-7.5-1
  • feature/equaltospecializations-minor-clean-up
  • feature/fix-phpstan-config
  • feature/fix-runtime-deprecations-php-8.5
  • feature/ghactions-add-actionlint
  • feature/ghactions-fix-more-rate-limiting
  • feature/ghactions-fix-phpunit-dev-test-run
  • feature/ghactions-improve-dont-run-cronjobs-on-forks-condition
  • feature/ghactions-make-the-test-workflow-more-robust
  • feature/ghactions-reduce-rate-limit-issues
  • feature/ghactions-reinstate-token-for-setup-php
  • feature/ghactions-test-against-phpunit-10-php-8.4
  • feature/ghactions-update-for-setup-php-2.35.0
  • feature/ghactions-update-markdownlint
  • feature/ghactions-use-phpstan-1.0
  • feature/ghactions-workflow-docs
  • feature/improve-php-8.4-workaround-implicitly-nullable
  • feature/markdown-fixes
  • feature/minor-updates-for-4.x
  • feature/modernize-const-visibility
  • feature/modernize-type-declarations
  • feature/partially-revert-URL-changes
  • feature/phpstan-2.0-update
  • feature/phpstan-config-minor-simplification
  • feature/phpstan-fix-config
  • feature/phpunit-9.6.11-add-assertobjecthaspropertytrait
  • feature/phpunit-config-fix-typo
  • feature/phpunit-rename-config-file
  • feature/readme-improve-assertistype-table-format
  • feature/release-version-3.0
  • feature/remark-link-check-tweak
  • feature/remarklint-ignore-release-compare-links
  • feature/support-phpunit-8.5.38-9.6.19
  • feature/support-phpunit-8.5.38-9.6.19_-10.5.17
  • feature/test-docs-minor-update
  • feature/tweak-markdown-workflow
  • feature/update-for-changed-message-format
  • feature/update-xtestcasetest
  • feature/work-round-phpcs-bug
  • main

05 Apr 2024 02:40PM UTC coverage: 96.264% (+0.4%) from 95.833%
8571536113

Pull #160

github

jrfnl
GH Actions: run tests against PHPUnit PHAR files as well

PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR build process, which means that classes external to PHPUnit are now prefixed differently, which breaks one polyfill.

As things were, such issues would previously not be caught by CI.

This commit adds a new job to the test workflow, which will run the tests against a range of PHP-PHPUnit combinations using the PHPUnit Phar to ensure any such issues will be automatically caught in the future.

The new test workflow will (very) selectively also upload code coverage to safeguard that the PHAR-file specific lines in the code base remain covered by tests as well.
Pull Request #160: GH Actions: run tests against PHPUnit PHAR files as well

670 of 696 relevant lines covered (96.26%)

94.8 hits per line

Relevant lines Covered
Build:
Build:
696 RELEVANT LINES 670 COVERED LINES
94.8 HITS PER LINE
Source Files on feature/ghactions-add-phar-testing-job
  • Tree
  • List 41
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
8571536113 feature/ghactions-add-phar-testing-job GH Actions: run tests against PHPUnit PHAR files as well PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR build process, which means that classes external to PHPUnit are now prefixed differently, which breaks one polyfill. As things were, ... Pull #160 05 Apr 2024 02:40PM UTC jrfnl github
96.26
8571403428 feature/ghactions-add-phar-testing-job GH Actions: run tests against PHPUnit PHAR files as well PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR build process, which means that classes external to PHPUnit are now prefixed differently, which breaks one polyfill. As things were, ... Pull #160 05 Apr 2024 02:30PM UTC jrfnl github
96.12
8571257039 feature/ghactions-add-phar-testing-job GH Actions: run tests against PHPUnit PHAR files as well PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR build process, which means that classes external to PHPUnit are now prefixed differently, which breaks one polyfill. As things were, ... Pull #160 05 Apr 2024 02:20PM UTC jrfnl github
96.12
8570856555 feature/ghactions-add-phar-testing-job Merge f36497cb2 into 3380dcc06 Pull #160 05 Apr 2024 01:50PM UTC web-flow github
96.23
8570849551 feature/ghactions-add-phar-testing-job GH Actions: run tests against PHPUnit PHAR files as well PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR build process, which means that classes external to PHPUnit are now prefixed differently, which breaks one polyfill. As things were, ... push 05 Apr 2024 01:49PM UTC jrfnl github
96.23
8570769902 feature/ghactions-add-phar-testing-job Try this push 05 Apr 2024 01:42PM UTC jrfnl github
95.83
8570533379 feature/ghactions-add-phar-testing-job Tweaks push 05 Apr 2024 01:23PM UTC jrfnl github
95.83
8570083602 feature/ghactions-add-phar-testing-job TEMP/TESTING push 05 Apr 2024 12:51PM UTC jrfnl github
96.23
8570013919 feature/ghactions-add-phar-testing-job GH Actions: run tests against PHPUnit PHAR files as well PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR build process, which means that classes external to PHPUnit are now prefixed differently, which breaks one polyfill. As things were, ... push 05 Apr 2024 12:46PM UTC jrfnl github
96.23
See All Builds (650)
  • Repo on GitHub
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

© 2025 Coveralls, Inc