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

comgate-payments / sdk-php / 29896311915

21 Jul 2026 08:50AM UTC coverage: 90.28% (-1.7%) from 91.935%
29896311915

push

github

web-flow
Code coverage (#110)

* feat: add code coverage badge workflow and README badge

- Add coverage-badge.yml workflow triggered on push to master
- Runs Codeception with --coverage --coverage-xml
- Parses coverage % from Clover XML via PHP one-liner
- Updates GitHub Gist via schneegans/dynamic-badges-action
- Adds shields.io coverage badge to README.md (placeholder {GH_USER}/{GIST_ID})

Manual setup required:
- Create GitHub Gist with coverage.json file
- Create PAT with gist scope
- Add GIST_TOKEN and COVERAGE_GIST_ID secrets to repo

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: update coverage badge URL with actual Gist ID

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: set XDEBUG_MODE=coverage env var for codecept run

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: deploy coverage HTML report to GitHub Pages

- Add permissions: pages write + id-token write
- Add --coverage-html to codecept run
- Upload tests/_output/coverage/ as Pages artifact
- Add deploy job using actions/deploy-pages@v4

Manual setup: Repo → Settings → Pages → Source: GitHub Actions
URL: https://comgate-payments.github.io/sdk-php/

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: migrate to Coveralls, remove Gist badge and GitHub Pages

- Remove coverage-badge.yml (Gist + GitHub Pages approach)
- Add coverage.yml: runs on push to master, uploads clover XML to Coveralls
- Update README badge to Coveralls

Manual setup: https://coveralls.io → enable repo → add COVERALLS_REPO_TOKEN secret

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chore: remove coverage.yml, merged into tests.yml

Coverage on push to master is now handled by tests.yml directly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: add Coveralls upload and push-to-master trigger to tests.yml

- Add push: branches: master trigger for baseline cov... (continued)

2127 of 2356 relevant lines covered (90.28%)

6.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

94.12
/src/Http/PsrResponse.php


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc