From 53671f6f824ee1b744825d13dcc6cbb05d7f2947 Mon Sep 17 00:00:00 2001
From: Felix Fischer <f.fischer@ifas.rwth-aachen.de>
Date: Thu, 2 Nov 2023 12:51:10 +0100
Subject: [PATCH] Ignore exit codes of pyright

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4086cdc..fe7b14b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,13 +65,14 @@ mypy:
 
 pyright:
     stage: static analysis
-    needs: [flake8, mypy]
+    needs: [flake8]
     image: node:21
     before_script:
         - npm i -g pyright
         - npm i -g pyright-to-gitlab-ci
     script:
-        - pyright src/ --outputjson > report_raw.json
+        - pyright src/ --outputjson > report_raw.json || true
+        - cat report_raw.json
         - pyright-to-gitlab-ci --src report_raw.json --output report.json --base_path .
     artifacts:
         paths:
-- 
GitLab