forked from UniversalMediaServer/api
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (23 loc) · 756 Bytes
/
loadtest.yaml
File metadata and controls
30 lines (23 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Production load tests
on:
pull_request:
branches:
- 'loadtest/**'
jobs:
artillery:
runs-on: ubuntu-latest
container: artilleryio/artillery:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Make reports directory
run: mkdir reports
- name: Execute load tests
run: /home/node/artillery/bin/artillery run --output reports/report.json test/load/ums-api-http.yaml
- name: Generate HTML report
run: /home/node/artillery/bin/artillery report --output reports/report reports/report.json
- name: Archive test report
uses: actions/upload-artifact@v3
with:
name: artillery-test-report
path: reports/*