-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build for improved debugability. (#184)
* Update build-4.x.yml * Update tester * Update composer.json PHP 8.0 is no longer supported Require the same version as installed by the main project, similar to nikic/PHP-Parser#1031 (comment)
- Loading branch information
1 parent
64cb4ce
commit a0b33d3
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
export SYMFONY_DEPRECATIONS_HELPER=disabled | ||
FAIL=0 | ||
FAILED=() | ||
for D in */; do | ||
cd $D | ||
echo "Operating on $D" | ||
echo "::group::Testing $D" | ||
cd $D | ||
composer test | ||
if [ $? -ne 0 ]; then | ||
FAIL=1 | ||
FAILED+=($D) | ||
fi | ||
cd .. | ||
cd .. | ||
echo "::endgroup" | ||
done | ||
|
||
echo "::group::Summary" | ||
if [ ${#FAILED[@]} -gt 0 ] ; then | ||
echo "Failed tests: ${FAILED[@]}" | ||
else | ||
echo "All tests passed!" | ||
fi | ||
echo "::endgroup" | ||
|
||
exit $FAIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters