2020-11-15 23:31:45 +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'
|
|
|
|
- project: 'QubesOS/qubes-continuous-integration'
|
|
|
|
file: '/r4.1/gitlab-vm.yml'
|
|
|
|
|
2020-12-02 03:16:08 +01:00
|
|
|
checks:tests:
|
|
|
|
stage: checks
|
2020-11-15 23:31:45 +01:00
|
|
|
variables:
|
|
|
|
ENABLE_SLOW_TESTS: 1
|
2020-12-02 03:16:08 +01:00
|
|
|
USER: gitlab-runner
|
2020-11-15 23:31:45 +01:00
|
|
|
before_script:
|
2020-12-02 03:16:08 +01:00
|
|
|
- sudo dnf install -y openssl
|
2020-11-15 23:31:45 +01:00
|
|
|
- pip3 install --quiet -r ci/requirements.txt
|
|
|
|
script:
|
|
|
|
- python3 setup.py build
|
|
|
|
- ./run-tests
|
2020-12-02 03:16:08 +01:00
|
|
|
after_script:
|
|
|
|
- codecov
|
|
|
|
|
|
|
|
checks:pylint:
|
|
|
|
stage: checks
|
|
|
|
before_script:
|
|
|
|
- pip3 install --quiet -r ci/requirements.txt
|
|
|
|
script:
|
|
|
|
- PYTHONPATH=test-packages pylint qubesadmin
|