K6 Stress Test #15
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: K6 Stress Test | |
on: | |
workflow_dispatch: | |
workflow_run: | |
workflows: [Lighthouse CI] | |
types: | |
- completed | |
jobs: | |
k6_load_test: | |
name: k6 Load Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: v11-react-step-3 | |
- name: Run local k6 test | |
uses: grafana/[email protected] | |
with: | |
filename: src/k6test.js | |
flags: --out json=results.json | |
- name: Upload performance test results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: k6-report | |
path: results.json |