ci: Make perf tests a blocking check (#18955)
Make perf tests a blocking check Co-authored-by: Satish Gandham <hello@satishgandham.com>
This commit is contained in:
parent
94e21d58df
commit
519dd3a7a3
23
.github/workflows/integration-tests-command.yml
vendored
23
.github/workflows/integration-tests-command.yml
vendored
|
|
@ -825,8 +825,18 @@ jobs:
|
||||||
# Set status = success
|
# Set status = success
|
||||||
- run: echo "::set-output name=run_result::success" > ~/run_result
|
- run: echo "::set-output name=run_result::success" > ~/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 }}
|
||||||
|
|
||||||
ui-test-result:
|
ui-test-result:
|
||||||
needs: [ui-test, fat-container-test]
|
needs: [ui-test, fat-container-test, perf-test]
|
||||||
# Only run if the ui-test with matrices step is successful
|
# Only run if the ui-test with matrices step is successful
|
||||||
if: always()
|
if: always()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -975,7 +985,7 @@ jobs:
|
||||||
run: echo "$PAYLOAD_CONTEXT"
|
run: echo "$PAYLOAD_CONTEXT"
|
||||||
|
|
||||||
- name: Check ui-test set status
|
- name: Check ui-test set status
|
||||||
if: needs.ui-test.result != 'success' || needs.fat-container-test.result != 'success'
|
if: needs.ui-test.result != 'success' || needs.fat-container-test.result != 'success' || needs.perf-test.result != 'success'
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|
||||||
package:
|
package:
|
||||||
|
|
@ -1046,12 +1056,3 @@ jobs:
|
||||||
|
|
||||||
return result;
|
return 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 }}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user