Skip to content

Commit 6b361c2

Browse files
committed
567
1 parent 816cdc2 commit 6b361c2

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,7 @@ jobs:
134134
dotnet tool run DotnetCtrfJsonReporter -p "$trx" -d "$outdir" -f "ctrf-report.json"
135135
136136
# Strip prefix from names; DO NOT touch suite; set filePath to OS
137-
jq --arg os "$os" --arg strip "$strip" -f - "$out" > "${out}.tmp" <<'JQ' && mv "${out}.tmp" "$out"
138-
.results |= map(
139-
(.name |= ((. // "") | sub($strip; ""))) |
140-
(.fullName? |= ((. // "") | sub($strip; ""))) |
141-
(.className?|= ((. // "") | sub($strip; ""))) |
142-
(.filePath = $os)
143-
)
144-
JQ
137+
jq --arg os "$os" --arg strip "$strip" '.results |= map((.fullName? |= ((. // "") | sub($strip; ""))) | (.className? |= ((. // "") | sub($strip; ""))) | (.filePath = $os))' "$out" > "${out}.tmp" && mv "${out}.tmp" "$out"
145138
146139
echo "Converted & normalized $trx -> $out"
147140
conv=$((conv+1))

0 commit comments

Comments
 (0)