We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GITHUB_STEP_SUMMARY
1 parent 93130ce commit 994e04cCopy full SHA for 994e04c
.github/workflows/test.yml
@@ -67,4 +67,18 @@ jobs:
67
- name: Install problem matcher for VTest.
68
run: echo "::add-matcher::.github/vtest.json"
69
- name: Run tests using HAProxy ${{ steps.install-haproxy.outputs.version }}.
70
- run: vtest -Dhaproxy_version=${{ steps.install-haproxy.outputs.version }} -k -t 10 test/*.vtc
+ run: |
71
+ vtest -Dhaproxy_version=${{ steps.install-haproxy.outputs.version }} -k -t 10 test/*.vtc 2>&1 \
72
+ |tee >(
73
+ awk '
74
+ $5=="passed"{icon=":heavy_check_mark:"}
75
+ $5=="skipped"{icon=":grey_question:"}
76
+ $5=="FAILED"{icon=":x:"}
77
+ $1 == "#" && $3=="TEST"{
78
+ print "- " icon " " $4
79
+ }
80
+ {line=$0}
81
+ END{print "# " $0}
82
+ ' \
83
+ |tac >> $GITHUB_STEP_SUMMARY
84
+ )
0 commit comments