shiplightai/shiplight-runner
Use This GitHub Action to run tests on https://app.shiplight.ai
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-token | api token for shiplight | yes | — |
| test-suite-id | test suite ID (single ID or comma-separated list, e.g., "1" or "1,2,3") | yes | — |
| preflight-test-case-id | optional preflight test case ID. If set, the preflight test runs before main test suites | no | — |
| environment-id | environment id | yes | — |
| environment-url | environment url | no | — |
| github-comment | If enabled, the action will comment on the pull request with the test run results | — | true |
| github-token | This token used for leaving a comment on the pull request | — | ${{ github.token }} |
| async | If enabled, will launch the tests but not wait for them to finish and the action will always output success. Note: GitHub comments will not function if this is set. | — | false |
| commit-sha | The commit SHA to find the pull request for comment | no | — |
| timeout-seconds | Maximum time to wait for test runs to complete (in seconds) | no | 86400 |
| test-context | Test context key-value pairs to pass to the test run, one per line in KEY=VALUE format. Example: env=staging feature-flag=enabled | no | — |
Outputs
| name | description |
|---|---|
| success | Whether all test runs were successful |
| results | JSON string containing results for each test suite |
| run-id | Shiplight run ID |
| run-url | Shiplight run result URL |
| preflight-result | Preflight result (Passed|Failed|Skipped|Pending) |
| metadata | Trigger metadata JSON string |