We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e03cdbd commit 3d67816Copy full SHA for 3d67816
scripts/aitest.sh
@@ -196,11 +196,13 @@ run_tests() {
196
fi
197
198
199
- # Always run lint
200
- log "Running lint..."
201
- if ! lint_output=$(make lint 2>&1); then
202
- failed=true
203
- output+="=== LINT FAILURES ===\n$lint_output\n\n"
+ # Only run lint if tests succeeded to avoid overwhelming context
+ if [[ "$failed" == "false" ]]; then
+ log "Running lint..."
+ if ! lint_output=$(make lint 2>&1); then
+ failed=true
204
+ output+="=== LINT FAILURES ===\n$lint_output\n\n"
205
+ fi
206
207
208
if [[ "$failed" == "true" ]]; then
0 commit comments