ci: Run perf tests in parallel (#28050)

Co-authored-by: Satish Gandham <hello@satishgandham.com>
This commit is contained in:
Satish Gandham 2023-10-13 16:25:47 +05:30 committed by GitHub
parent 51a5b447b1
commit 538e557160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View File

@ -29,6 +29,11 @@ jobs:
run: run:
working-directory: app/client working-directory: app/client
shell: bash shell: bash
strategy:
fail-fast: false
matrix:
job: [0, 1]
# Service containers to run with this job. Required for running tests # Service containers to run with this job. Required for running tests
services: services:
@ -222,6 +227,7 @@ jobs:
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
NODE_TLS_REJECT_UNAUTHORIZED: "0" NODE_TLS_REJECT_UNAUTHORIZED: "0"
MACHINE: ubuntu-latest-4-cores MACHINE: ubuntu-latest-4-cores
JOB: ${{ matrix.job }}
run: ./start-test.sh run: ./start-test.sh

View File

@ -60,13 +60,3 @@ jobs:
secrets: inherit secrets: inherit
with: with:
pr: ${{ github.event.client_payload.pull_request.number }} pr: ${{ github.event.client_payload.pull_request.number }}
perf-test-v2:
needs: [ build-docker-image ]
# Only run if the build step is successful
if: success()
name: perf-test-v2
uses: ./.github/workflows/perf-test-v2.yml
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}