{"id":15529827,"url":"https://github.com/mheap/phpunit-github-actions-printer","last_synced_at":"2025-04-09T09:07:47.154Z","repository":{"id":54262968,"uuid":"234754125","full_name":"mheap/phpunit-github-actions-printer","owner":"mheap","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-06T12:05:09.000Z","size":233,"stargazers_count":70,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T12:32:43.180Z","etag":null,"topics":["github-actions","phpunit-printer"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mheap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-18T15:21:03.000Z","updated_at":"2023-12-15T22:07:42.000Z","dependencies_parsed_at":"2022-08-13T10:20:43.582Z","dependency_job_id":null,"html_url":"https://github.com/mheap/phpunit-github-actions-printer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Fphpunit-github-actions-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Fphpunit-github-actions-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Fphpunit-github-actions-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Fphpunit-github-actions-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mheap","download_url":"https://codeload.github.com/mheap/phpunit-github-actions-printer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","phpunit-printer"],"created_at":"2024-10-02T11:20:02.762Z","updated_at":"2025-04-09T09:07:47.132Z","avatar_url":"https://github.com/mheap.png","language":"PHP","readme":"## phpunit-github-actions-printer\n\n\u003e There's a zero-config way to achieve this at [mheap/phpunit-matcher-action](https://github.com/mheap/phpunit-matcher-action)\n\nThis is a PHPUnit printer that uses the `::error` and `::warning` functionality of GitHub Actions to add annotiations for failing test runs. It's main differentiator to the above is that it supports adding warnings in addition to errors.\n\n![PHPUnit Action Matcher Logs Example](https://github.com/mheap/phpunit-github-actions-printer/blob/master/phpunit-printer-logs.png?raw=true)\n\n![PHPUnit Action Matcher Context Example](https://github.com/mheap/phpunit-github-actions-printer/blob/master/phpunit-printer-context.png?raw=true)\n\n\u003e If you're interested in learning more about GitHub Actions, [sign up here](https://michaelheap.com/building-github-actions/)\n\n## Usage\n\nAdd this printer to your project\n\n```bash\ncomposer require --dev mheap/phpunit-github-actions-printer\n```\n\nWhen you run your tests, specify `mheap\\GithubActionsReporter\\Printer` as the printer to use\n\n```bash\n./vendor/bin/phpunit --printer mheap\\\\GithubActionsReporter\\\\Printer /path/to/tests\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmheap%2Fphpunit-github-actions-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmheap%2Fphpunit-github-actions-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmheap%2Fphpunit-github-actions-printer/lists"}