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:
Rajat Agrawal 2023-06-22 09:07:28 +05:30 committed by GitHub
parent be5268d23a
commit dd08e096c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,34 +21,12 @@ jobs:
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}}>
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:
name: server-build
needs: [changeset]
uses: ./.github/workflows/server-build.yml
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
skip-tests: ${{ needs.changeset.outputs.backend == 'false' }}
client-build:
name: client-build