gitlab-ci: install dependencies via dnf

Make them available system-wide, not only in user home - needed to call
some of the code via sudo in tests.
This commit is contained in:
Marek Marczykowski-Górecki 2020-11-25 03:45:49 +01:00
parent 5e4b495682
commit 8b321e8fb0
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -19,10 +19,10 @@ checks:tests:
- short-living-job - short-living-job
- vm-runner - vm-runner
before_script: before_script:
# vim-common for xxd
- sudo dnf install -y lvm2 vim-common python3-lxml python3-docutils
- 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 --user --quiet -r ci/requirements.txt - pip3 install --user --quiet -r ci/requirements.txt
# vim-common for xxd
- sudo dnf install -y lvm2 vim-common
script: script:
- PYTHONPATH=test-packages:~/qubes-core-qrexec ./run-tests - PYTHONPATH=test-packages:~/qubes-core-qrexec ./run-tests
after_script: after_script: