aerospace fork
Something went wrong. Try again.
123456789101112131415#!/usr/bin/env bashcd "$(dirname "$0")"source ./script/setup.sh
if swift test \ | sed -E '/^Test (Suite|Case).*(started|passed)/d' \ | sed -E '/^[[:space:]]+Executed.*with 0 failures/d' \ | sed -E '/ [[:digit:]]+(:[[:digit:]]+)+/s/:/;/g' # Replace colons with semicolons in dates to avoid treating these lines as files in vimthen echo "✅ Swift tests have passed successfully"else echo "❌ Swift tests have failed" exit 1fi