Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ on:
- sustained-load
- spike-test

concurrency:
group: load-test-${{ inputs.environment }}
cancel-in-progress: false

jobs:
load-test:
name: 'Load Test: ${{ inputs.scenario }} (${{ inputs.client_count }} clients)'
runs-on: ubuntu-latest
environment: ${{ inputs.environment == 'staging' && 'staging' || '' }}
timeout-minutes: 30
timeout-minutes: 60

services:
postgres:
Expand Down Expand Up @@ -183,9 +187,9 @@ jobs:
echo "LOAD_TEST_CLIENTS=$CLIENT_COUNT" >> $GITHUB_ENV

- name: Run load test
working-directory: tests/load
run: |
pnpm --filter @cipherbox/load-tests test:single -- \
"${{ inputs.scenario }}"
pnpm exec vitest run --no-coverage "${{ inputs.scenario }}"

- name: Upload metrics report
if: always()
Expand Down
Loading