grafana/Run Grafana k6 tests

Run Grafana k6 tests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 22, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: grafana/run-k6-action@de51a7390bdf0ac85a3bef493691bd71d4c7c158 # v1.4.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub API Access Tokenyes${{ github.token }}
pathPath to the k6 test filesyes
parallelIf true, run tests in parallelnofalse
fail-fastIf true, fail on first test failurenofalse
flagsAdditional flags to pass to k6 testsno""
inspect-flagsAdditional flags to pass to k6 inspection stepno""
cloud-run-locallyIf true, run tests locally instead and upload results to Grafana Cloud k6notrue
cloud-comment-on-prIf true, comment the cloud test run URL on the pull requestnotrue
only-verify-scriptsIf true, only check if the test scripts are valid and skip test executionnofalse
debugIf true, the output from k6 will be shown in the action logs, else only the summary will be shownnofalse
disable-analyticsIf true, the anonymous usage analytics reporting will be disablednofalse
namedescription
testRunIdsComma-separated list of GCk6 Test Run IDs executed by this step