ci: cypress on doc db (#26660)
This commit is contained in:
parent
e6d478490e
commit
207681bd18
13
.github/workflows/ci-test-with-documentdb.yml
vendored
13
.github/workflows/ci-test-with-documentdb.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user