Skip to content

Commit 8826bfa

Browse files
Update cypress-tests.yml
1 parent 359ca2a commit 8826bfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cypress-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
prerelease_tag=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases | jq -r 'map(select(.prerelease == true)) | .[0].tag_name')
6060
if [ "$prerelease_tag" != "null" ]; then
6161
echo "The latest pre-release tag is: $prerelease_tag"
62-
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ dataforge-core=="$prerelease_tag"
62+
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ dataforge-core=="$prerelease_tag" | grep -q "Successfully installed" || exit 1
6363
else
6464
echo "No pre-release found."
6565
fi
@@ -76,13 +76,13 @@ jobs:
7676
run: node scripts/runInteractiveCommand.js --configure
7777

7878
- name: Initialize Dataforge
79-
run: dataforge --init
79+
run: dataforge --init | grep -q "Initialized project in /home/runner/work/dataforge-core/dataforge-core" || exit 1
8080

8181
- name: Run interactive Dataforge seeding
8282
run: node scripts/runInteractiveCommand.js --seed
8383

8484
- name: Run Dataforge build
85-
run: dataforge --build
85+
run: dataforge --build | grep -q "Import completed successfully" || exit 1
8686

8787
- name: Run Dataforge process
88-
run: dataforge --run
88+
run: dataforge --run | grep -q "Execution completed successfully" || exit 1

0 commit comments

Comments
 (0)