mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Print log when formatter ecosystem checks fail (#6187)
**Summary** Print the errors when the formatter ecosystem checks failed. Im not happy that we current collect the log in the first place, but this is the less invasive change and we need it to unblock reviewing #6152. **Test Plan** https://github.com/astral-sh/ruff/actions/runs/5713112075/job/15477879403?pr=6188
This commit is contained in:
@@ -51,5 +51,9 @@ fi
|
||||
# for i in "$dir"/*/; do git -C "$i" switch main && git -C "$i" pull && echo "# $(basename "$i") $(git -C "$i" rev-parse HEAD)"; done
|
||||
|
||||
time cargo run --bin ruff_dev -- format-dev --stability-check --error-file "$target/progress_projects_errors.txt" \
|
||||
--multi-project "$dir" >"$target/progress_projects_report.txt"
|
||||
--multi-project "$dir" >"$target/progress_projects_report.txt" || (
|
||||
echo "Ecosystem check failed"
|
||||
cat "$target/progress_projects_report.txt"
|
||||
exit 1
|
||||
)
|
||||
grep "similarity index" "$target/progress_projects_report.txt" | sort
|
||||
|
||||
Reference in New Issue
Block a user