itznotabug/PHPUnit Retry
Intelligently retry failed PHPUnit tests with @depends resolution
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | PHPUnit command to execute | yes | — |
| max_attempts | Maximum retry attempts | no | 3 |
| retry_wait_seconds | Seconds to wait between retries | no | 10 |
| shell | Shell to use for running commands (bash, sh, pwsh, python, cmd, powershell) | no | bash |
| timeout_minutes | Timeout in minutes for each test attempt (0 = no timeout) | no | 30 |
| test_dir | Base directory for test files in workspace (e.g., "tests" or "vendor/appwrite/server-ce/tests") | yes | — |
| github_token | GitHub token for posting PR comments with test summary. Ensure workflow/job has permissions: contents: read, pull-requests: write | no | — |
| job_id | GitHub Actions job ID for linking to specific workflow run job (optional, will auto-fetch if github_token has actions: read permission, or pass job ID explicitly) | no | — |
Outputs
| name | description |
|---|---|
| total_attempts | Total number of attempts made |
| exit_code | Final exit code |
| failed_tests | JSON array of failed test names |
| success | Whether tests eventually passed (true/false) |