Revert "chore: Skip tests in server build if no changes in server files for ok-to-test command" (#24721)
Reverts appsmithorg/appsmith#24616
This commit is contained in:
parent
be5268d23a
commit
dd08e096c5
22
.github/workflows/integration-tests-command.yml
vendored
22
.github/workflows/integration-tests-command.yml
vendored
|
|
@ -21,34 +21,12 @@ jobs:
|
||||||
PR: ${{ github.event.client_payload.pull_request.number }}.
|
PR: ${{ github.event.client_payload.pull_request.number }}.
|
||||||
Perf tests will be available at <https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=${{ github.event.client_payload.pull_request.number }}&runId=${{ github.run_id }}_${{github.run_attempt}}>
|
Perf tests will be available at <https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=${{ github.event.client_payload.pull_request.number }}&runId=${{ github.run_id }}_${{github.run_attempt}}>
|
||||||
|
|
||||||
changeset:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
# Required permissions
|
|
||||||
permissions:
|
|
||||||
pull-requests: read
|
|
||||||
# Set job outputs to values from filter step
|
|
||||||
outputs:
|
|
||||||
backend: ${{ steps.filter.outputs.backend }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
ref: refs/pull/${{ github.event.client_payload.pull_request.number }}/merge
|
|
||||||
- uses: dorny/paths-filter@v2
|
|
||||||
id: filter
|
|
||||||
with:
|
|
||||||
filters: |
|
|
||||||
backend:
|
|
||||||
- 'app/server/**'
|
|
||||||
|
|
||||||
server-build:
|
server-build:
|
||||||
name: server-build
|
name: server-build
|
||||||
needs: [changeset]
|
|
||||||
uses: ./.github/workflows/server-build.yml
|
uses: ./.github/workflows/server-build.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
pr: ${{ github.event.client_payload.pull_request.number }}
|
pr: ${{ github.event.client_payload.pull_request.number }}
|
||||||
skip-tests: ${{ needs.changeset.outputs.backend == 'false' }}
|
|
||||||
|
|
||||||
client-build:
|
client-build:
|
||||||
name: client-build
|
name: client-build
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user