From f2c96f6cd97bf0bb03aebb95864a8a6d786e8af1 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 3 Oct 2023 09:39:17 +0200
Subject: [PATCH] [ci] Simplify and annotate with comments

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2fed2c94..c9ae0016 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,12 +13,14 @@ variables:
 
 documentation:
   before_script:
+    # for opencv-python dependence
     - apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null
-    - export OMP_NUM_THREADS=1
     - !reference [.snippets, doc-prepare]
 
 tests:
   before_script:
+    # for opencv-python dependence
     - if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi
+    # for pytorch quirks on linux
     - if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1
     - !reference [.snippets, test-prepare]
-- 
GitLab