aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2023-11-09 09:05:42 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-09 18:56:09 +0900
commit9f17bef9a6ead213ea62d399baa4c67e1e89398b (patch)
treead9a25a0c843bf363a8531c4a2db1a65ff71722e /commit.c
parentci: split out logic to set up failed test artifacts (diff)
downloadgit-9f17bef9a6ead213ea62d399baa4c67e1e89398b.tar.gz
git-9f17bef9a6ead213ea62d399baa4c67e1e89398b.zip
ci: unify setup of some environment variables
Both GitHub Actions and Azure Pipelines set up the environment variables GIT_TEST_OPTS, GIT_PROVE_OPTS and MAKEFLAGS. And while most values are actually the same, the setup is completely duplicate. With the upcoming support for GitLab CI this duplication would only extend even further. Unify the setup of those environment variables so that only the uncommon parts are separated. While at it, we also perform some additional small improvements: - We now always pass `--state=failed,slow,save` via GIT_PROVE_OPTS. It doesn't hurt on platforms where we don't persist the state, so this further reduces boilerplate. - When running on Windows systems we set `--no-chain-lint` and `--no-bin-wrappers`. Interestingly though, we did so _after_ already having exported the respective environment variables. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions