- Created StellaOps.Notify.Storage.Mongo project with initial configuration. - Added expected output files for acceptance tests (at1.txt to at10.txt). - Added fixture input files for acceptance tests (at1 to at10). - Created input and signature files for test cases fc1 to fc5.
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: graph-load
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
target:
|
|
description: "Graph API base URL"
|
|
required: true
|
|
default: "http://localhost:5000"
|
|
users:
|
|
description: "Virtual users"
|
|
required: false
|
|
default: "8"
|
|
duration:
|
|
description: "Duration seconds"
|
|
required: false
|
|
default: "60"
|
|
|
|
jobs:
|
|
load-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Task Pack offline bundle fixtures
|
|
run: python3 scripts/packs/run-fixtures-check.sh
|
|
|
|
- name: Install k6
|
|
run: |
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y k6
|
|
|
|
- name: Run graph load test
|
|
run: |
|
|
chmod +x scripts/graph/load-test.sh
|
|
TARGET="${{ github.event.inputs.target }}" USERS="${{ github.event.inputs.users }}" DURATION="${{ github.event.inputs.duration }}" scripts/graph/load-test.sh
|
|
|
|
- name: Upload results
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: graph-load-summary
|
|
path: out/graph-load/**
|