Skip to content

Commit 76bb027

Browse files
committed
temp: debug ci stuff
1 parent a495b8c commit 76bb027

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
cat <<EOF >>$GITHUB_STEP_SUMMARY
4848
# Failing Tests
4949
50+
echo >>$GITHUB_STEP_SUMMARY
51+
echo '```json' >>$GITHUB_STEP_SUMMARY
52+
jq --slurp --compact-output '.' reports/*/report.json >>$GITHUB_STEP_SUMMARY
53+
echo '```' >>$GITHUB_STEP_SUMMARY
54+
5055
<table>
5156
<thead>
5257
<tr>
@@ -58,12 +63,13 @@ jobs:
5863
<tbody>
5964
EOF
6065
66+
jq --version
6167
jq --slurp --raw-output '
6268
map(.failed_tests) | flatten | map({
6369
klass,
6470
NAME,
6571
failure: .failures[0],
66-
source_url: .source_location | if .[0] | contains("/gems/") then
72+
source_url: .source_location | if (.[0] | contains("/gems/")) then
6773
(.[0] | capture("rails-(?<sha>.*?)/(?<path>.*)")) *
6874
{line: .[1], server: "https://github.com", repo: "rails/rails"}
6975
else

0 commit comments

Comments
 (0)