Skip to content

Commit

Permalink
Manual server change
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhi-nair committed Dec 30, 2024
1 parent 982bbd8 commit f5eef46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/pr-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,8 @@ jobs:
uses: ./.github/workflows/pr-cypress.yml
secrets: inherit
with:
its: ${{ needs.parse-tags.outputs.its}}
tags: ${{ needs.parse-tags.outputs.tags}}
spec: ${{ needs.parse-tags.outputs.spec}}
matrix: ${{ needs.parse-tags.outputs.matrix}}
is-pg-build: ${{ github.event.pull_request.base.ref == 'pg' }}

perform-it:
needs: [ parse-tags, perform-test ]
if: success() && needs.parse-tags.outputs.its == 'true'
uses: ./.github/workflows/server-integration-tests.yml
secrets: inherit
with:
pr: ${{ github.event.number }}
is-pg-build: ${{ github.event.pull_request.base.ref == 'pg' }}
13 changes: 13 additions & 0 deletions .github/workflows/pr-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Cypress test suite
on:
workflow_call:
inputs:
its:
required: false
type: string
default: "false"
tags:
required: true
type: string
Expand Down Expand Up @@ -45,6 +49,15 @@ jobs:
with:
pr: ${{ github.event.number }}

server-it:
needs: [ server-build, rts-build ]
if: success() && inputs.its == 'true'
uses: ./.github/workflows/server-integration-tests.yml
secrets: inherit
with:
pr: ${{ github.event.number }}
is-pg-build: ${{ github.event.pull_request.base.ref == 'pg' }}

build-docker-image:
needs: [client-build, server-build, rts-build]
# Only run if the build step is successful
Expand Down

0 comments on commit f5eef46

Please sign in to comment.