[feat] Parse K6 command output from stdout #21
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/[email protected] | |
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 |