chore: sync project snapshot for gitea/github upload
This commit is contained in:
@@ -49,7 +49,12 @@ EOF
|
||||
|
||||
cp -f "$REPORT_FILE" "$LATEST_LINK"
|
||||
|
||||
if grep -Eq '全部通过[:: ]*是|是否“全部通过”[:: ]*是|全部通过\s*\(是\)' "$REPORT_FILE"; then
|
||||
# Enhanced pattern matching to handle various report formats:
|
||||
# - 全部通过(是)
|
||||
# - 是否"全部通过": **是**
|
||||
# - 是否"全部通过": **是(Playwright测试)/ 部分阻塞(Cypress)**
|
||||
# - 全部通过.*✓
|
||||
if grep -Eq '是否"全部通过".*是|全部通过\s*\(是\)|全部通过.*✓' "$REPORT_FILE"; then
|
||||
touch "$STATE_DIR/done.flag"
|
||||
echo "[$(date '+%F %T')] done flag set" | tee -a "$RUN_LOG"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user