grafana/Run Grafana k6 tests
Run Grafana k6 tests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 22, 2026
- License
- Apache 2.0
Pinned Snippet
uses: grafana/run-k6-action@de51a7390bdf0ac85a3bef493691bd71d4c7c158 # v1.4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub API Access Token | yes | ${{ github.token }} |
| path | Path to the k6 test files | yes | — |
| parallel | If true, run tests in parallel | no | false |
| fail-fast | If true, fail on first test failure | no | false |
| flags | Additional flags to pass to k6 tests | no | "" |
| inspect-flags | Additional flags to pass to k6 inspection step | no | "" |
| cloud-run-locally | If true, run tests locally instead and upload results to Grafana Cloud k6 | no | true |
| cloud-comment-on-pr | If true, comment the cloud test run URL on the pull request | no | true |
| only-verify-scripts | If true, only check if the test scripts are valid and skip test execution | no | false |
| debug | If true, the output from k6 will be shown in the action logs, else only the summary will be shown | no | false |
| disable-analytics | If true, the anonymous usage analytics reporting will be disabled | no | false |
Outputs
| name | description |
|---|---|
| testRunIds | Comma-separated list of GCk6 Test Run IDs executed by this step |