From 8ad83c8baea96c8c7f5ab67eabc8f304dec2ef20 Mon Sep 17 00:00:00 2001
From: softir <elisabetta.giani@inaf.it>
Date: Mon, 6 Apr 2020 09:50:26 +0200
Subject: [PATCH] AT5-370: call pylint from pipeline (no makefile)

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bf331a4..4bbc1e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,13 +56,11 @@ list_dependencies:
       - public
 
 linting:
-  image: nexus.engageska-portugal.pt/ska-docker/tango-builder:latest
-  tags:
-    - docker-executor
   stage: linting
   script:
-    - cd docker
-    - make lint
+    - pip3 install pylint2junit
+    - pylint --output-format=parseable cspse | tee ./build/code_analysis.stdout
+    - pylint --output-format=pylint2junit.JunitReporter cspse > ./build/reports/linting.xml;
   when: always
   artifacts:
     paths:
-- 
GitLab