Browse Source

gitlab-ci: install pip before using it, adjust pylint call

Marek Marczykowski-Górecki 3 years ago
parent
commit
5e4b495682
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .gitlab-ci.yml

+ 2 - 1
.gitlab-ci.yml

@@ -7,10 +7,11 @@ include:
 checks:pylint:
   stage: checks
   before_script:
+    - sudo dnf install -y python3-pip
     - git clone https://github.com/QubesOS/qubes-core-qrexec ~/qubes-core-qrexec
     - pip3 install --quiet -r ci/requirements.txt
   script:
-    - PYTHONPATH=test-packages:~/qubes-core-qrexec pylint-3 qubes
+    - PYTHONPATH=test-packages:~/qubes-core-qrexec python3 -m pylint qubes
 
 checks:tests:
   stage: checks