]> git.ipfire.org Git - thirdparty/git.git/commit
ci: add a problem matcher for GitHub Actions
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 10 Apr 2020 17:18:13 +0000 (00:18 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Apr 2020 17:30:40 +0000 (10:30 -0700)
commit676eb0c1ce0d380478eb16bdc5a3f2a7bc01c1d2
tree8c650db55f66c829314b009bae7c3def4002d169
parent662f9cf1548cf069cb819e9e95f224657015fcf9
ci: add a problem matcher for GitHub Actions

With this patch, test failures will be annotated with a helpful,
clickable message in GitHub Actions. For details, see
https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md

Note: we need to set `TEST_SHELL_PATH` to Bash so that the problem
matcher is fed a file and line number for each test failure.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/git-problem-matcher.json [new file with mode: 0644]
ci/lib.sh