Remove k6 version argument from the readme examples #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workflow using the k6 run action | |
on: | |
push: | |
jobs: | |
protocol: | |
runs-on: ubuntu-latest | |
env: | |
K6_CLOUD_TOKEN: ${{ secrets.K6_CLOUD_TOKEN }} | |
K6_CLOUD_PROJECT_ID: ${{ secrets.K6_CLOUD_PROJECT_ID }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Grafana k6 | |
uses: grafana/setup-k6-action@main | |
with: | |
k6-version: '0.49.0' | |
- uses: ./ | |
continue-on-error: true | |
with: | |
path: | | |
./dev/protocol*.js | |
flags: --vus 10 --duration 30s | |
parallel: true | |
cloud-run-locally: false | |
verify-scripts: | |
runs-on: ubuntu-latest | |
env: | |
K6_CLOUD_TOKEN: ${{ secrets.K6_CLOUD_TOKEN }} | |
K6_CLOUD_PROJECT_ID: ${{ secrets.K6_CLOUD_PROJECT_ID }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Grafana k6 | |
uses: grafana/setup-k6-action@main | |
with: | |
k6-version: '0.49.0' | |
- uses: ./ | |
continue-on-error: true | |
with: | |
path: | | |
./dev/verify-script-tests/**.js | |
only-verify-scripts: true |