File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ jobs:
503503 cd pr-branch
504504 # Try running with --trace; if it fails due to argument parsing, the PR needs to merge master
505505 # We use .lake/ for the output file because landrun restricts /tmp access
506- if ! env LEAN_ABORT_ON_PANIC=1 lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
506+ if ! env LEAN_ABORT_ON_PANIC=1 stdbuf -oL lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
507507 if grep -q "cannot parse arguments" .lake/lint_output.txt; then
508508 echo ""
509509 echo "=============================================================================="
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ jobs:
513513 cd pr-branch
514514 # Try running with --trace; if it fails due to argument parsing, the PR needs to merge master
515515 # We use .lake/ for the output file because landrun restricts /tmp access
516- if ! env LEAN_ABORT_ON_PANIC=1 lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
516+ if ! env LEAN_ABORT_ON_PANIC=1 stdbuf -oL lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
517517 if grep -q "cannot parse arguments" .lake/lint_output.txt; then
518518 echo ""
519519 echo "=============================================================================="
Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ jobs:
519519 cd pr-branch
520520 # Try running with --trace; if it fails due to argument parsing, the PR needs to merge master
521521 # We use .lake/ for the output file because landrun restricts /tmp access
522- if ! env LEAN_ABORT_ON_PANIC=1 lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
522+ if ! env LEAN_ABORT_ON_PANIC=1 stdbuf -oL lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
523523 if grep -q "cannot parse arguments" .lake/lint_output.txt; then
524524 echo ""
525525 echo "=============================================================================="
Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ jobs:
517517 cd pr-branch
518518 # Try running with --trace; if it fails due to argument parsing, the PR needs to merge master
519519 # We use .lake/ for the output file because landrun restricts /tmp access
520- if ! env LEAN_ABORT_ON_PANIC=1 lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
520+ if ! env LEAN_ABORT_ON_PANIC=1 stdbuf -oL lake exe runLinter --trace Mathlib 2>&1 | tee .lake/lint_output.txt; then
521521 if grep -q "cannot parse arguments" .lake/lint_output.txt; then
522522 echo ""
523523 echo "=============================================================================="
You can’t perform that action at this time.
0 commit comments