Skip to content

Commit 7fa686a

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

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
@@ -76,7 +76,15 @@ jobs:
7676
run: node scripts/runInteractiveCommand.js --configure
7777

7878
- name: Initialize Dataforge
79-
run: dataforge --init
79+
run: |
80+
init_output=$(dataforge --init)
81+
echo "Dataforge initialization output: $init_output"
82+
if echo "$init_output" | grep -q "Initialized project"; then
83+
echo "Dataforge initialized successfully."
84+
else
85+
echo "Dataforge initialization failed."
86+
exit 1
87+
fi
8088
8189
- name: Run interactive Dataforge seeding
8290
run: node scripts/runInteractiveCommand.js --seed

0 commit comments

Comments
 (0)