Skip to content

Artillery Load Test

Artillery Load Test #4

Workflow file for this run

name: Artillery Load Test
on:
push:
branches:
- main
paths:
- 'src/artillery.js'
workflow_dispatch:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- warning
jobs:
artillery:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Execute load tests
uses: artilleryio/action-cli@v1
with:
command: run artillery.yml --output report-artillery.json
working-directory: ./src
- name: Upload artifact
uses: actions/upload-artifact@v3
if: always()
with:
name: artillery-report
path: ./report-artillery.json # reference the generated report in the file system