Skip to content

Commit 566727b

Browse files
authored
test: guides would not fail (api-platform#5724)
1 parent cdd426f commit 566727b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/guides.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
restore-keys: ${{ runner.os }}-composer-
4343
- name: Install project dependencies
4444
working-directory: docs
45-
run: composer install --no-interaction --no-progress --ansi
45+
run: composer install --no-interaction --no-progress --ansi && composer require webonyx/graphql-php
4646
- name: Test guides
4747
working-directory: docs
4848
env:
@@ -53,10 +53,5 @@ jobs:
5353
for d in guides/*.php; do
5454
rm -f var/data.db
5555
echo "Testing guide $d"
56-
pdg-phpunit $d
57-
code=$?
58-
if [[ $code -ne 0 ]]; then
59-
break
60-
fi
56+
pdg-phpunit $d || exit 1
6157
done
62-
exit $code

0 commit comments

Comments
 (0)