Skip to content

Commit db82923

Browse files
authored
Update README.md
1 parent 4633d81 commit db82923

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: grafana/run-k6-action@v1
2828
with:
2929
path: |
30-
./tests/protocol*.js
30+
./tests/api*.js
3131
```
3232
3333
#### Grafana Cloud k6 integration
@@ -52,7 +52,7 @@ jobs:
5252
K6_CLOUD_PROJECT_ID: ${{ secrets.K6_CLOUD_PROJECT_ID }}
5353
with:
5454
path: |
55-
./tests/protocol*.js
55+
./tests/api*.js
5656
```
5757
5858
By default, the action will run k6 locally and send the results to Grafana Cloud k6. If you want to run the tests in our Cloud instances, you need to change the `cloud-run-locally` input to `false`:
@@ -64,7 +64,7 @@ By default, the action will run k6 locally and send the results to Grafana Cloud
6464
K6_CLOUD_PROJECT_ID: ${{ secrets.K6_CLOUD_PROJECT_ID }}
6565
with:
6666
path: |
67-
./tests/protocol*.js
67+
./tests/api*.js
6868
cloud-run-locally: false
6969
```
7070

@@ -82,10 +82,12 @@ jobs:
8282
- uses: grafana/setup-k6-action@v1
8383
with:
8484
k6-version: "0.49.0"
85+
browser: true
8586
- uses: grafana/run-k6-action@v1
8687
with:
8788
path: |
88-
./tests/protocol*.js
89+
./tests/api*.js
90+
./tests/app*.js
8991
flags: --vus 10 --duration 20s # optional: flags to pass to to each k6 test (default: none)
9092
parallel: true # optional: run tests in parallel (default: false)
9193
fail-fast: false # optional: fail the step early if any test fails (default: true)

0 commit comments

Comments
 (0)