Skip to content

Commit 5dc42ac

Browse files
Update cypress-tests.yml
1 parent 7fa686a commit 5dc42ac

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/cypress-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,15 @@ jobs:
7373
DATABRICKS_HOSTNAME: ${{ secrets.DATABRICKS_HOSTNAME }}
7474
DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }}
7575
DATABRICKS_ACCESS_TOKEN: ${{ secrets.DATABRICKS_ACCESS_TOKEN }}
76-
run: node scripts/runInteractiveCommand.js --configure
76+
run: |
77+
config_output=$(node scripts/runInteractiveCommand.js --configure)
78+
echo "Dataforge configuration output: $config_output"
79+
if echo "$config_output" | grep -q "Databricks connection validated successfully"; then
80+
echo "Databricks connection validated successfully."
81+
else
82+
echo "Databricks connection validation failed."
83+
exit 1
84+
fi
7785
7886
- name: Initialize Dataforge
7987
run: |

0 commit comments

Comments
 (0)