Skip to content

Commit af81f3e

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

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
@@ -44,6 +44,11 @@ jobs:
4444
- name: Aggregate Reports
4545
if: failure()
4646
run: |
47+
echo >>$GITHUB_STEP_SUMMARY
48+
echo '```json' >>$GITHUB_STEP_SUMMARY
49+
jq --slurp --compact-output '.' reports/*/report.json >>$GITHUB_STEP_SUMMARY
50+
echo '```' >>$GITHUB_STEP_SUMMARY
51+
4752
cat <<EOF >>$GITHUB_STEP_SUMMARY
4853
# Failing Tests
4954
@@ -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)