Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,23 @@ jobs:
for pid in $pids; do
wait $pid || exit_code=$?
done
# Print logs sequentially with clear headers
# Print passing versions first, then failing versions last
for v in ${{ matrix.versions }}; do
echo ""
echo "=========================================="
echo " Results for Minecraft ${v}"
echo "=========================================="
cat "test-${v}.log"
if ! grep -q "failing" "test-${v}.log"; then
echo ""
echo "=========================================="
echo " Results for Minecraft ${v}"
echo "=========================================="
cat "test-${v}.log"
fi
done
for v in ${{ matrix.versions }}; do
if grep -q "failing" "test-${v}.log"; then
echo ""
echo "=========================================="
echo " FAILED: Minecraft ${v}"
echo "=========================================="
cat "test-${v}.log"
fi
done
exit $exit_code
Loading