ci: Add perf tests back (#19184)

This PR adds the perf tests back, but still not a blocking check.

Co-authored-by: Satish Gandham <hello@satishgandham.com>
This commit is contained in:
Satish Gandham 2022-12-23 19:01:03 +05:30 committed by GitHub
parent 57d0461473
commit d0044fedb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 15 deletions

View File

@ -845,15 +845,15 @@ jobs:
- name: Save the status of the run
run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result
# perf-test:
# needs: [client-build, server-build, rts-build]
# # Only run if the build step is successful
# if: success()
# name: perf-test
# uses: ./.github/workflows/perf-test.yml
# secrets: inherit
# with:
# pr: ${{ github.event.client_payload.pull_request.number }}
perf-test:
needs: [client-build, server-build, rts-build]
# Only run if the build step is successful
if: success()
name: perf-test
uses: ./.github/workflows/perf-test.yml
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
ui-test-result:
needs: [ui-test, fat-container-test]

View File

@ -261,6 +261,8 @@ jobs:
APPSMITH_DISABLE_TELEMETRY: true
POSTGRES_PASSWORD: postgres
NODE_TLS_REJECT_UNAUTHORIZED: "0"
MACHINE: ubuntu-latest-4-cores
run: ./start-test.sh
# Restore the previous built bundle if present. If not push the newly built into the cache
@ -273,12 +275,6 @@ jobs:
restore-keys: |
${{ github.run_id }}-${{ github.job }}
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: performance-summaries
path: app/client/perf/traces
# Set status = success
- name: Save the status of the run
run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result

View File

@ -399,6 +399,16 @@ jobs:
- name: Save the status of the run
run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result
perf-test:
needs: [client-build, server-build, rts-build]
# Only run if the build step is successful
if: success()
name: perf-test
uses: ./.github/workflows/perf-test.yml
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
fat-container-test:
needs: [buildClient, buildServer, buildRts]
# Only run if the build step is successful