Skip to content

Commit

Permalink
[PAGOPA-2043] feat: including flow size parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-deri committed Feb 3, 2025
1 parent 1f82aa0 commit 20846b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/07_performance_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ on:
description: Select the Script Name
options:
- create_flow_sequential
flow-size:
required: true
type: number
description: Select the number of payments sent in flow
default: 100

permissions:
id-token: write
Expand All @@ -51,7 +56,7 @@ jobs:
- name: Run k6 script
run: |
cd ./performance-test
sub_key="${{ secrets.PSP_SUBSCRIPTION_KEY }}" env="${{ inputs.environment }}" type="${{ inputs.test-type }}" script="${{ inputs.script-name }}" docker compose -f docker-compose.yaml up
sub_key="${{ secrets.PSP_SUBSCRIPTION_KEY }}" payments_in_flow="${{ inputs.flow-size }}" env="${{ inputs.environment }}" type="${{ inputs.test-type }}" script="${{ inputs.script-name }}" docker compose -f docker-compose.yaml up
# sh ./performance-test/run_performance_test.sh ${{ env.ENVIRONMENT }} ${{ env.TEST_TYPE }} ${{ env.SCRIPT }} ${{ secrets.API_SUBSCRIPTION_KEY }}
#${{ secrets.COSMOS_SUBSCRIPTION_KEY }}

0 comments on commit 20846b9

Please sign in to comment.