Skip to content

test(downloads): bootstrap PHPUnit with release counter coverage#420

Merged
vitormattos merged 9 commits into
mainfrom
feat/github-downloads-counter-v2
Jul 5, 2026
Merged

test(downloads): bootstrap PHPUnit with release counter coverage#420
vitormattos merged 9 commits into
mainfrom
feat/github-downloads-counter-v2

Conversation

@vitormattos

@vitormattos vitormattos commented Jul 4, 2026

Copy link
Copy Markdown
Member

Summary

  • bootstrap PHPUnit for the site repository
  • extract GitHub release download counting into a dedicated support class
  • add focused PHPUnit coverage for the downloads counter
  • wire the downloads counter through config

Scope

  • PHPUnit infrastructure for site
  • Downloads counter support class and test
  • Minimal config wiring needed to exercise the new test setup

Validation

  • docker compose exec php vendor/bin/phpunit tests/Unit/Support/GitHub/GitHubReleaseDownloadsCounterTest.php
  • docker compose exec php composer test

Notes

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://libresign.github.io/site-preview/pr-preview/pr-420/

Built to branch main at 2026-07-05 21:40 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

vitormattos and others added 7 commits July 5, 2026 18:26
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos force-pushed the feat/github-downloads-counter-v2 branch from 3e489a8 to 8413d33 Compare July 5, 2026 21:27
@vitormattos vitormattos changed the title refactor(downloads): extract GitHub downloads counter test(downloads): bootstrap PHPUnit with release counter coverage Jul 5, 2026
@vitormattos vitormattos changed the base branch from feat/pricing-refactor-v2 to main July 5, 2026 21:28
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos force-pushed the feat/github-downloads-counter-v2 branch from 8413d33 to 84fb2e1 Compare July 5, 2026 21:32
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos vitormattos force-pushed the feat/github-downloads-counter-v2 branch from 727de6b to 48694ba Compare July 5, 2026 21:42
@vitormattos vitormattos merged commit 2886008 into main Jul 5, 2026
4 checks passed
@vitormattos vitormattos deleted the feat/github-downloads-counter-v2 branch July 5, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant