Skip to content

Commit 8b7f901

Browse files
committed
update k6 workflow
1 parent facc125 commit 8b7f901

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/k6.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
on:
22
workflow_dispatch:
33
inputs:
4-
test_duration:
5-
description: "Test duration (e.g., 1h, 2h)"
6-
default: "1h"
4+
test_duration_minutes:
5+
description: "Test duration in minutes"
6+
default: "60"
77
vus:
88
description: "Number of virtual users"
99
default: "30"
@@ -30,7 +30,7 @@ jobs:
3030
env:
3131
API_URL: wss://hyprnote-api-loadtest.fly.dev
3232
AUTH_TOKEN: ${{ secrets.K6_AUTH_TOKEN }}
33-
TEST_DURATION: ${{ inputs.test_duration }}
33+
TEST_DURATION: ${{ inputs.test_duration_minutes }}m
3434
VUS: ${{ inputs.vus }}
3535
FLY_ORG: ${{ secrets.FLY_ORG }}
3636
FLY_APP: hyprnote-api-loadtest

0 commit comments

Comments
 (0)