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

This commit is contained in:
Marek Marczykowski-Górecki 2020-11-21 21:45:08 +01:00
parent 2c8057c43a
commit 5e4b495682
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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