Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/likesistemas/codeception-github-reporter
Reports unit test data for a pull request.
https://github.com/likesistemas/codeception-github-reporter
codeception
Last synced: 5 days ago
JSON representation
Reports unit test data for a pull request.
- Host: GitHub
- URL: https://github.com/likesistemas/codeception-github-reporter
- Owner: likesistemas
- License: mit
- Created: 2021-02-22T08:20:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T11:55:24.000Z (over 3 years ago)
- Last Synced: 2024-09-18T16:53:09.762Z (about 2 months ago)
- Topics: codeception
- Language: PHP
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [GitHubReporter] Reporter for PHP testing frameworks [![PHP 5.6](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-56.yml/badge.svg)](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-56.yml) [![PHP 7.3](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-73.yml/badge.svg)](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-73.yml) [![PHP 7.4](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-74.yml/badge.svg)](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-74.yml) [![PHP 8.0](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-80.yml/badge.svg)](https://github.com/likesistemas/codeception-github-reporter/actions/workflows/ci-80.yml)
## Installation
```
composer require likesistemas/codeception-github-reporter --dev
```### Codeception
Run your tests with`Like\Codeception\GithubReporter` extension enabled:
On Linux/MacOS:
```
VAR={VALUE} php vendor/bin/codecept run --ext "Like\Codeception\GithubReporter"
```On Windows
```
set VAR={VALUE}&& php vendor/bin/codecept run --ext "Like\Codeception\GithubReporter"
```Alternatively, you can add `Like\Codeception\GithubReporter` extension to suite or global config.
```yml
extensions:
enabled:
- Like\Codeception\GithubReporter
```### Enviroment Variables
- GITHUB_OWNER: Owner of repository
- GITHUB_REPO: Name of repository
- GITHUB_PR_NUMBER: Number of pull request of repository
- GITHUB_TOKEN: Token of the user's github who will post the comment
- IMGBB_TOKEN=cfac55381b42ee1e55bf17fa185b3b51
- TEST_LANG: Language
- TEST_TITLE: Message to show in title
- TEST_FOOTER: Show footer with version of PHP
- IMGBB_TOKEN: Token to upload image acceptance test