Skip to content

Commit

Permalink
test: guides would not fail (#5724)
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka authored Aug 6, 2023
1 parent cdd426f commit 566727b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/guides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
restore-keys: ${{ runner.os }}-composer-
- name: Install project dependencies
working-directory: docs
run: composer install --no-interaction --no-progress --ansi
run: composer install --no-interaction --no-progress --ansi && composer require webonyx/graphql-php
- name: Test guides
working-directory: docs
env:
Expand All @@ -53,10 +53,5 @@ jobs:
for d in guides/*.php; do
rm -f var/data.db
echo "Testing guide $d"
pdg-phpunit $d
code=$?
if [[ $code -ne 0 ]]; then
break
fi
pdg-phpunit $d || exit 1
done
exit $code

0 comments on commit 566727b

Please sign in to comment.