From c3ef4af81f76ec1998ef00ab25fd56b8a916a02a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 5 Jul 2022 01:32:29 -0500 Subject: CI: Make test environment more predictible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set LANG to C.UTF-8 to ensure that UTF-8 tests don't fail (such as the username example that has 'Adélie User'). --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c44ff3..f43431c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ test: stage: test script: - cd tests - - PATH=$(pwd)/../build/tools/hscript-validate:$(pwd)/../build/tools/hscript-simulate:$PATH rspec --format RspecJunitFormatter --out rspec.xml + - LANG=C.UTF-8 PATH=$(pwd)/../build/tools/hscript-validate:$(pwd)/../build/tools/hscript-simulate:$PATH rspec --format RspecJunitFormatter --out rspec.xml artifacts: paths: - build @@ -49,7 +49,7 @@ coverage: paths: - build/cov_html reports: - metrics: metrics.txt + metrics: build/metrics.txt pages: stage: deploy -- cgit v1.2.3-70-g09d2