ci: cypress on doc db (#26660)

This commit is contained in:
Sumesh Pradhan 2023-08-25 17:27:17 +05:30 committed by GitHub
parent e6d478490e
commit 207681bd18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,11 @@ jobs:
# Opens tcp port 6379 on the host and service container
- 6379:6379
mongo:
image: mongo
ports:
- 27017:27017
steps:
- name: Set up Depot CLI
uses: depot/setup-action@v1
@ -230,6 +235,10 @@ jobs:
working-directory: app/client
run: |
yarn install --immutable
- name: Wait until appsmith server is healthy
run: |
bash scripts/health_check.sh
- name: Setting up the cypress tests
if: steps.run_result.outputs.run_result != 'success'
@ -330,10 +339,6 @@ jobs:
else
echo "COMMIT_INFO_MESSAGE=$(echo \"${{ env.EVENT_COMMITS }}\" | awk -F '\\\\n' '{print $1}' | sed 's/^\"//')" >> $GITHUB_ENV
fi
- name: Wait until appsmith server is healthy
run: |
bash scripts/health_check.sh
- name: Run the cypress test
if: steps.run_result.outputs.run_result != 'success' && steps.run_result.outputs.run_result != 'failedtest'