ci: Run perf tests in parallel (#28050)
Co-authored-by: Satish Gandham <hello@satishgandham.com>
This commit is contained in:
parent
51a5b447b1
commit
538e557160
6
.github/workflows/perf-test-v2.yml
vendored
6
.github/workflows/perf-test-v2.yml
vendored
|
|
@ -29,6 +29,11 @@ jobs:
|
|||
run:
|
||||
working-directory: app/client
|
||||
shell: bash
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
job: [0, 1]
|
||||
|
||||
# Service containers to run with this job. Required for running tests
|
||||
services:
|
||||
|
|
@ -222,6 +227,7 @@ jobs:
|
|||
POSTGRES_PASSWORD: postgres
|
||||
NODE_TLS_REJECT_UNAUTHORIZED: "0"
|
||||
MACHINE: ubuntu-latest-4-cores
|
||||
JOB: ${{ matrix.job }}
|
||||
|
||||
run: ./start-test.sh
|
||||
|
||||
|
|
|
|||
10
.github/workflows/perf-tests-command.yml
vendored
10
.github/workflows/perf-tests-command.yml
vendored
|
|
@ -60,13 +60,3 @@ jobs:
|
|||
secrets: inherit
|
||||
with:
|
||||
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 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user