From a87914970bb985176ad09c422f0942908492de0f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 21 May 2023 20:23:16 +0200 Subject: t/l: fail unless $CI is set --- test/linux-home/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/linux-home') diff --git a/test/linux-home/test.sh b/test/linux-home/test.sh index f4b1028..edb2d5b 100755 --- a/test/linux-home/test.sh +++ b/test/linux-home/test.sh @@ -83,8 +83,12 @@ show_env() { } main() { - show_env + if [ -z "${CI:+x}" ]; then + echo "$script_name: please don't run it outside of CI runs" >&2 + exit 1 + fi + show_env test_my_dotfiles_work } -- cgit v1.2.3