You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Artillery load testing action
v1.0.0
Official GitHub Action for running load tests with Artillery.
The Artillery CLI command to run. You can use all the available commands:
run
run:fargate
run:lambda
- name: Load tests
uses: artilleryio/action-cli@v1
with:
command: run ./preprod.yml
Learn more about Writing test scripts with Artillery.
This action does not set any outputs.
You can generate and access the test run report using the CLI directly:
- name: Load tests
uses: artilleryio/action-cli@v1
with:
# Save the test run report at "./report.json"
command: run ./prod.yml --output ./report.json
- name: Upload artifact
uses: actions/upload-artifact@v3
if: always()
with:
name: artillery-report
# Reference the generated report in the file system.
path: ./report.json
Learn more about Running Artillery on GitHub Actions.