Skip to content

Commit e5e9630

Browse files
committed
Bug Fix: exit if fails and doesn't have type error
1 parent 2fe0bd5 commit e5e9630

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/examples_kokkos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ jobs:
4040
echo "Running $f..."
4141
if [[ "$f" == *_lambda.py ]]; then
4242
output=$(python "$f" 2>&1) || {
43-
if echo "$output" | grep -qv "TypeError"; then
43+
if ! echo "$output" | grep -q "TypeError"; then
4444
echo "$output"
4545
exit 1
4646
fi
47+
echo "Ignoring TypeError in $f"
4748
}
4849
echo "$output"
4950
else

0 commit comments

Comments
 (0)