2020-11-15 23:31:36 +01:00
|
|
|
include:
|
|
|
|
- project: 'QubesOS/qubes-continuous-integration'
|
|
|
|
file: '/r4.1/gitlab-base.yml'
|
|
|
|
- project: 'QubesOS/qubes-continuous-integration'
|
|
|
|
file: '/r4.1/gitlab-dom0.yml'
|
2020-11-17 23:33:02 +01:00
|
|
|
|
|
|
|
checks:pylint:
|
|
|
|
stage: checks
|
|
|
|
before_script:
|
2020-11-21 21:45:08 +01:00
|
|
|
- sudo dnf install -y python3-pip
|
2020-11-17 23:33:02 +01:00
|
|
|
- git clone https://github.com/QubesOS/qubes-core-qrexec ~/qubes-core-qrexec
|
|
|
|
- pip3 install --quiet -r ci/requirements.txt
|
|
|
|
script:
|
2020-11-21 21:45:08 +01:00
|
|
|
- PYTHONPATH=test-packages:~/qubes-core-qrexec python3 -m pylint qubes
|
2020-11-17 23:33:02 +01:00
|
|
|
|
|
|
|
checks:tests:
|
|
|
|
stage: checks
|
|
|
|
tags:
|
|
|
|
- short-living-job
|
|
|
|
- vm-runner
|
|
|
|
before_script:
|
|
|
|
- git clone https://github.com/QubesOS/qubes-core-qrexec ~/qubes-core-qrexec
|
|
|
|
- pip3 install --user --quiet -r ci/requirements.txt
|
|
|
|
# vim-common for xxd
|
|
|
|
- sudo dnf install -y lvm2 vim-common
|
|
|
|
script:
|
|
|
|
- PYTHONPATH=test-packages:~/qubes-core-qrexec ./run-tests
|
|
|
|
after_script:
|
|
|
|
- ci/codecov-wrapper -F unittests
|