ruby-changes:68145
From: Nobuyoshi <ko1@a...>
Date: Mon, 27 Sep 2021 21:28:50 +0900 (JST)
Subject: [ruby-changes:68145] 09863a4cd8 (master): Unexport `CIRRUS_COMMIT_MESSAGE`
https://git.ruby-lang.org/ruby.git/commit/?id=09863a4cd8 From 09863a4cd8eb40b34b310083d8cdda899ab5bcc1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 27 Sep 2021 21:01:36 +0900 Subject: Unexport `CIRRUS_COMMIT_MESSAGE` Cirrus CI sets this environment variable from the pull request description. However it does not seem any locales other than C are installed, the default external encoding is US-ASCII. That means this environment variable will be an invalid byte sequence, and some tests fail. --- .cirrus.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 36a1b67..ee08af0 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -58,5 +58,7 @@ task: https://github.com/ruby/ruby/blob/trunk/.cirrus.yml#L58 make_install_script: make install install_gems_for_test_script: $RUBY_PREFIX/bin/gem install --no-doc timezone tzinfo make_test-tool_script: make test-tool - make_test-all_script: make test-all + make_test-all_script: + - export -n CIRRUS_COMMIT_MESSAGE + - make test-all make_test-spec_script: make test-spec -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/