Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Nov 6, 2024
1 parent 14065f7 commit b32b6bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/qns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ jobs:
key: qns-${{ runner.name }}-${{ github.sha }}
restore-keys: qns-${{ runner.name }}-

- run: sudo apt-get install -y --no-install-recommends wdiff
- run: |
mapfile -t LIST < <(echo '${{ needs.implementations.outputs.pairs }}' | jq '.[]' | sort)
for PREFIX in "${LIST[@]}"; do
Expand Down Expand Up @@ -205,7 +206,7 @@ jobs:
RESULT=$(jq < "$RUN/$ROLE.grouped.json" -r '.results.'"$GROUP"'[]' | fmt -w 1000)
LOG=$(jq -r < "$RUN/$ROLE.grouped.json" -r '.log_url')
BASELINE=$(mktemp)
jq < "results-main/${PREFIX} results/$ROLE.grouped.json" -r '.results.'"$GROUP"'[]' | fmt -w 1000 > "$BASELINE"
jq < "results-main/${PREFIX} results/$ROLE.grouped.json" -r '.results.'"$GROUP"'[]' | fmt -w 1000 > "$BASELINE" || true
DIFF=$(wdiff "$BASELINE" - <<< "$RESULT")
echo "$DIFF"
[ -n "$RESULT" ] || continue
Expand Down

0 comments on commit b32b6bf

Please sign in to comment.