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: checks:pylint:
stage: checks stage: checks
before_script: before_script:
- sudo dnf install -y python3-pip
- git clone https://github.com/QubesOS/qubes-core-qrexec ~/qubes-core-qrexec - git clone https://github.com/QubesOS/qubes-core-qrexec ~/qubes-core-qrexec
- pip3 install --quiet -r ci/requirements.txt - pip3 install --quiet -r ci/requirements.txt
script: script:
- PYTHONPATH=test-packages:~/qubes-core-qrexec pylint-3 qubes - PYTHONPATH=test-packages:~/qubes-core-qrexec python3 -m pylint qubes
checks:tests: checks:tests:
stage: checks stage: checks