From 0a13b3ee75b8ec2c8244a7049b571487b4827857 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Tue, 15 Nov 2022 15:13:29 +0000 Subject: [PATCH] ci: disable metrics during docs test --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9e70c1..4190a6f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,8 @@ test:docs: - apt update && apt install build-essential - pip install -r requirements.txt - pip install -U sphinx sphinx-press-theme sphinx-jsonschema - - pushd scripts && python update_schemas.py && popd - - pushd docs && sphinx-build -b html . ../public && popd + - pushd scripts && DISABLE_METRICS=true python update_schemas.py && popd + - pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd rules: - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH